import type { ApprovalWaitResult, AuthClient } from './types.js'; /** * Handles the REQUIRE_APPROVAL decision flow: * * 1. Creates a pending approval request via OpenLeash API. * 2. Polls for the owner's decision up to `timeoutMs`. * 3. Returns a typed result: APPROVED (with token), DENIED, or TIMEOUT. * * Callers are responsible for re-authorising with the approval token and * forwarding to upstream on APPROVED. */ export declare function waitForApproval(params: { auth: AuthClient; decisionId: string; action: Record; toolName: string; actionType: string; timeoutMs: number; pollIntervalMs: number; }): Promise; //# sourceMappingURL=approval-waiter.d.ts.map