import { ComputedRef, Ref } from 'vue'; import { UseConfirmDialogRevealResult } from '@vueuse/core'; import { EventHookOn } from '@vueuse/shared'; interface Options { title?: string; description?: string; type?: 'success' | 'danger' | 'warning'; actionText?: string; dismissText?: string; onAction?: () => void; onDismiss?: () => void; placement?: 'top' | 'center' | 'bottom'; } export declare function useAlert(): { isRevealed: ComputedRef; isOpen: Ref; options: { title?: string | undefined; description?: string | undefined; type?: "success" | "danger" | "warning" | undefined; actionText?: string | undefined; dismissText?: string | undefined; onAction?: (() => void) | undefined; onDismiss?: (() => void) | undefined; placement?: "top" | "center" | "bottom" | undefined; }; open: (opts?: Options) => void; close: () => void; reveal: (data?: any) => Promise< UseConfirmDialogRevealResult>; confirm: (data?: any) => void; cancel: (data?: any) => void; onReveal: EventHookOn; onConfirm: EventHookOn; onCancel: EventHookOn; }; declare const open: (opts?: Options) => void; export { open as openAlert, }; export declare const alert: { success: (opts: Options) => void; danger: (opts: Options) => void; warning: (opts: Options) => void; };