import type { ApprovalRequest, ApprovalDecision, ApprovalListener, ApprovalGateway, ApprovalRequestHandle } from './types'; export type { ApprovalRequest, ApprovalDecision, ApprovalOutcome, ApprovalEvent, ApprovalListener, ApprovalGateway, ApprovalRequestHandle, } from './types'; export declare class InMemoryApprovalGateway implements ApprovalGateway { private readonly pendingMap; private readonly listeners; request(req: Omit): ApprovalRequestHandle; resolve(approvalId: string, decision: Omit): boolean; pending(): readonly ApprovalRequest[]; subscribe(listener: ApprovalListener): () => void; abortAll(reason: string): void; abortRun(runId: string, reason: string): void; private abortEntries; private emit; } export declare function scopeApprovalGateway(gateway: ApprovalGateway, runId: string): ApprovalGateway; //# sourceMappingURL=approval.d.ts.map