import type { ConfirmOptions } from './types';
export interface ConfirmEntry extends ConfirmOptions {
    id: string;
    resolve: (confirmed: boolean) => void;
}
type Listener = (queue: ConfirmEntry[]) => void;
/**
 * Show a Bloom confirm dialog and resolve with the user's choice.
 *
 * ```ts
 * const ok = await confirm({
 *   title: 'Delete app?',
 *   description: 'This cannot be undone.',
 *   confirmLabel: 'Delete',
 *   destructive: true,
 * });
 * if (ok) await doDelete();
 * ```
 */
export declare function confirm(options: ConfirmOptions): Promise<boolean>;
/** Resolve and remove an entry. Called by the host on confirm/cancel/dismiss. */
export declare function resolveConfirm(id: string, confirmed: boolean): void;
/**
 * Subscribe to queue changes (single-subscriber model; latest wins). Delivers
 * the current queue synchronously so a freshly mounted host catches up.
 */
export declare function subscribeConfirms(fn: Listener): () => void;
/** Inspect the current queue. Used by tests. */
export declare function getConfirmQueue(): readonly ConfirmEntry[];
export {};
//# sourceMappingURL=confirm-store.d.ts.map