import { ActionOptions, SwalState } from './modules/state'; import { SwalOptions } from './modules/options'; export declare type SwalParams = (string | Partial)[]; export interface SweetAlert { (...params: SwalParams): Promise; close?(namespace: string): void; getState?(): SwalState; setActionValue?(opts: string | ActionOptions): void; stopLoading?(): void; setDefaults?(opts: object): void; } declare const swal: SweetAlert; export default swal;