1 | import { DuoyunVisibleBaseElement } from './base/visible';
|
2 | import './card';
|
3 | import './paragraph';
|
4 | import './button';
|
5 | export declare type Tour = {
|
6 | title: string;
|
7 | description: string;
|
8 | before?: () => Promise<void> | void;
|
9 | preview?: string;
|
10 | finishText?: string;
|
11 | finish?: () => Promise<void> | void;
|
12 | skip?: () => Promise<void> | void;
|
13 | maskClosable?: boolean;
|
14 | };
|
15 | declare type Store = {
|
16 | currentIndex: number;
|
17 | opened: boolean;
|
18 | };
|
19 | export declare function openTour(currentIndex?: number): Promise<void>;
|
20 | export declare function setTours(tours: Tour[] | Record<number, Tour>, options?: Partial<Store>): Promise<void>;
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export declare class DuoyunCoachMarkElement extends DuoyunVisibleBaseElement {
|
31 | #private;
|
32 | index: number;
|
33 | width: string;
|
34 | size: 'small' | 'medium' | 'large';
|
35 | color: string;
|
36 | constructor();
|
37 | mounted: () => void;
|
38 | render: () => import("lit-html/lib/template-result").TemplateResult;
|
39 | }
|
40 | export {};
|
41 |
|
\ | No newline at end of file |