import { LitElement } from 'lit'; export type PromptType = 'confirm' | 'alert'; /** * Confirmation/alert prompt dialog * * @slot description content (falls back to the `description` property) */ export declare class SwUiAlert extends LitElement { static styles: import("lit").CSSResult[]; title: string; description: string; type: PromptType; private _dialog; private _resolve; /** Opens the prompt and returns a promise that resolves with the user's choice. */ show(): Promise; private _close; render(): import("lit-html").TemplateResult<1>; } /** * Programmatically show a prompt and await the user's response. * * @example * const confirmed = await showPrompt({ title: "Delete item?", type: "confirm" }); * const ack = await showPrompt({ title: "Done!", type: "alert" }); */ export declare function showPrompt(options: { title: string; description?: string; type?: PromptType; }): Promise; declare global { interface HTMLElementTagNameMap { 'sw-ui-alert': SwUiAlert; } } //# sourceMappingURL=sw-ui-alert.d.ts.map