1 | declare type InteractionOptions = {
|
2 | pause: boolean;
|
3 | canEscape?: boolean;
|
4 | };
|
5 | declare type InteractionCallback = (options: InteractionOptions) => void;
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare function addInteractionListener(callback: InteractionCallback): void;
|
12 | export declare function removeInteractionListener(callback: InteractionCallback): void;
|
13 | export declare function pauseInteractions(options?: Omit<InteractionOptions, 'pause'>): void;
|
14 | export declare function resumeInteractions(options?: Omit<InteractionOptions, 'pause'>): void;
|
15 | export declare function confirmAsync(options: {
|
16 | initial?: boolean;
|
17 | message: string;
|
18 | }): Promise<boolean>;
|
19 | export {};
|