1 | import { ButtonList } from './buttons';
|
2 | import { ContentOptions } from './content';
|
3 | export interface SwalOptions {
|
4 | title: string;
|
5 | text: string;
|
6 | icon: string;
|
7 | buttons: ButtonList | Array<string | boolean>;
|
8 | content: ContentOptions;
|
9 | className: string;
|
10 | closeOnClickOutside: boolean;
|
11 | closeOnEsc: boolean;
|
12 | dangerMode: boolean;
|
13 | timer: number;
|
14 | }
|
15 | export declare const setDefaults: (opts: object) => void;
|
16 | export declare const getOpts: (...params: (string | Partial<SwalOptions>)[]) => SwalOptions;
|