@mondaydotcomorg/atp-runtime
Version:
Runtime SDK injected into sandbox for Agent Tool Protocol
12 lines • 447 B
TypeScript
/**
*/
import type { ApprovalRequest, ApprovalResponse } from './types';
/**
* Initialize the approval system with a custom handler
*/
export declare function initializeApproval(handler: (request: ApprovalRequest) => Promise<ApprovalResponse>): void;
/**
* Get the current approval handler
*/
export declare function getApprovalHandler(): ((request: ApprovalRequest) => Promise<ApprovalResponse>) | null;
//# sourceMappingURL=handler.d.ts.map