export type DialogAnswer = 'allow' | 'deny' | 'timeout' | 'error'; export interface DialogDeps { /** Runs the AppleScript; resolves with what the user did. */ run?: (script: string, timeoutSec: number) => Promise; platform?: string; enabled?: boolean; } /** For tests. */ export declare function _resetPairDialog(): void; export declare function dialogScript(origin: string, label: string, code: string, timeoutSec: number): string; /** * Ask the user on this Mac. Fire and forget from the /pair/request route: the * HTTP response never waits on the dialog, and nothing here throws. */ export declare function confirmPairingLocally(pairingId: string, deps?: DialogDeps): Promise; //# sourceMappingURL=pairDialog.d.ts.map