import type { ExecAsk, ExecSecurity } from "../infra/exec-approvals.js"; export type RequestExecApprovalDecisionParams = { id: string; command: string; cwd: string; nodeId?: string; host: "gateway" | "node"; security: ExecSecurity; ask: ExecAsk; agentId?: string; resolvedPath?: string; sessionKey?: string; }; export type ExecApprovalRegistration = { id: string; expiresAtMs: number; finalDecision?: string | null; }; export declare function registerExecApprovalRequest(params: RequestExecApprovalDecisionParams): Promise; export declare function waitForExecApprovalDecision(id: string): Promise; export declare function requestExecApprovalDecision(params: RequestExecApprovalDecisionParams): Promise; export declare function requestExecApprovalDecisionForHost(params: { approvalId: string; command: string; workdir: string; host: "gateway" | "node"; nodeId?: string; security: ExecSecurity; ask: ExecAsk; agentId?: string; resolvedPath?: string; sessionKey?: string; }): Promise; export declare function registerExecApprovalRequestForHost(params: { approvalId: string; command: string; workdir: string; host: "gateway" | "node"; nodeId?: string; security: ExecSecurity; ask: ExecAsk; agentId?: string; resolvedPath?: string; sessionKey?: string; }): Promise;