1 | import { ActionOptions, SwalState } from './modules/state';
|
2 | import { SwalOptions } from './modules/options';
|
3 | export declare type SwalParams = (string | Partial<SwalOptions>)[];
|
4 | export interface SweetAlert {
|
5 | (...params: SwalParams): Promise<any>;
|
6 | close?(namespace?: string): void;
|
7 | getState?(): SwalState;
|
8 | setActionValue?(opts: string | ActionOptions): void;
|
9 | stopLoading?(): void;
|
10 | setDefaults?(opts: object): void;
|
11 | }
|
12 | declare const swal: SweetAlert;
|
13 | export default swal;
|