import type { SweetAlertIcon, SweetAlertOptions, SweetAlertResult } from 'sweetalert2'; import Swal from 'sweetalert2'; type Awaited = T extends Promise ? U : T; declare function success(options: SweetAlertOptions): Promise>>; declare function success(title?: string, html?: string, icon?: SweetAlertIcon): Promise>>; declare function info(options: SweetAlertOptions): Promise>>; declare function info(title?: string, html?: string, icon?: SweetAlertIcon): Promise>>; declare function warning(options: SweetAlertOptions): Promise>>; declare function warning(title?: string, html?: string, icon?: SweetAlertIcon): Promise>>; declare function error(options: SweetAlertOptions): Promise>>; declare function error(title?: string, html?: string, icon?: SweetAlertIcon): Promise>>; declare function confirm(options: SweetAlertOptions): Promise>>; declare function confirm(title?: string, html?: string, icon?: SweetAlertIcon): Promise>>; declare function loading(options: SweetAlertOptions): Promise>>; declare function loading(title?: string, html?: string, icon?: SweetAlertIcon): Promise>>; declare const _default: typeof Swal & { success: typeof success; warning: typeof warning; info: typeof info; error: typeof error; confirm: typeof confirm; loading: typeof loading; }; export default _default;