import { Component, PartsMap } from 'tosijs'; interface DialogParts extends PartsMap { dialog: HTMLDialogElement; ok: HTMLButtonElement; } export declare class TosiDialog extends Component { #private; static preferredTagName: string; static lightStyleSpec: { ':host > dialog::backdrop': { backdropFilter: string; }; ':host > dialog:not([open])': { display: string; }; ':host > dialog[open]': { minWidth: number; border: number; borderRadius: number; overflow: string; maxHeight: string; padding: number; display: string; flexDirection: string; gap: number; _dialogShadow: string; _dialogBackground: string; _dialogColor: string; boxShadow: string; background: string; color: string; }; ':host > dialog > *': { padding: string; }; ':host > dialog > header': { display: string; justifyContent: string; gap: number; }; ':host > dialog > footer': { display: string; justifyContent: string; gap: number; paddingBottom: number; }; }; static alert(message: string, title?: string): Promise; static confirm(message: string, title?: string): Promise; static prompt(message: string, title?: string, currentValue?: string): Promise; removeOnClose: boolean; closeOnBackgroundClick: boolean; constructor(); dialogWillClose: (reason?: string) => void; initialFocus(): void; showModal: () => Promise; close: (reason?: string) => void; ok: () => void; content: () => HTMLDialogElement; } export declare const tosiDialog: import("tosijs").ElementCreator; export {};