/** Discovery is frequent by default; an owner can still cap polling explicitly.
 * Confirmation has its own small, fixed budget, independent of that cap. */
export declare const DIALOG_READ_MS: number;
export declare const DIALOG_CONFIRM_MS = 300;
export declare function confirmDialogRead<T>(read: () => Promise<T>, current: () => boolean): Promise<T | undefined>;
/** A live composer or working hint after all dialog cues proves closure.
 * Call only after ruling out a currently readable dialog. A failed parse alone
 * says nothing: clipped and half-drawn screens remain unknown. */
export declare function dialogHasClosed(screen: string): boolean;
