import { IconName } from "../../Icon"; export type DialogContent = { /** * Title of the dialog. */ title: string; /** * The message field text. */ message: string; /** * A list of configured buttons to render as action buttons in the dialog. */ buttons: DialogButton[]; }; export type DialogButton = { /** * Title of the button. */ text: string; /** * Callback method invoked when a user presses the button. */ onPress: () => void; /** * The style of the button described from its effects on the system. */ style?: "default" | "cancel" | "destructive"; /** * A boolean value indicating whether or not the button should be visually highligted. */ isPreferred?: boolean; /** * The name of the icon to display with the button. */ icon?: IconName; }; export declare const alert: (title: DialogContent["title"], message: DialogContent["message"], buttons: DialogContent["buttons"]) => void; export declare const _useDialogService: () => { dialogContent: DialogContent | null; finishDialog: () => void; };