1 | import type { ToastType, ToastOptions, ToastWrapperInstance } from './types';
|
2 |
|
3 |
|
4 |
|
5 | export declare function showToast(options?: string | ToastOptions): ToastWrapperInstance;
|
6 |
|
7 |
|
8 |
|
9 | export declare const showLoadingToast: (options: string | ToastOptions) => ToastWrapperInstance;
|
10 |
|
11 |
|
12 |
|
13 | export declare const showSuccessToast: (options: string | ToastOptions) => ToastWrapperInstance;
|
14 |
|
15 |
|
16 |
|
17 | export declare const showFailToast: (options: string | ToastOptions) => ToastWrapperInstance;
|
18 |
|
19 |
|
20 |
|
21 | export declare const closeToast: (all?: boolean) => void;
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export declare function setToastDefaultOptions(options: ToastOptions): void;
|
27 | export declare function setToastDefaultOptions(type: ToastType, options: ToastOptions): void;
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare const resetToastDefaultOptions: (type?: ToastType) => void;
|
33 |
|
34 |
|
35 |
|
36 | export declare const allowMultipleToast: (value?: boolean) => void;
|