import type { ToolCall } from '../types';
export interface PendingPermissionPrompt {
    id: string;
    call: ToolCall;
    reason?: string;
    createdAt: string;
}
export declare class PermissionPromptBroker {
    private pending;
    private readonly timeoutMs;
    constructor(timeoutMs?: number);
    request(call: ToolCall, reason?: string): Promise<{
        allowed: boolean;
        reason?: string;
    }>;
    list(): PendingPermissionPrompt[];
    resolve(id: string, allowed: boolean, reason?: string): boolean;
    clear(): void;
}
//# sourceMappingURL=promptBroker.d.ts.map