import { GemElement } from '@mantou/gem/lib/element'; import './loading'; interface Option { minDelay?: number; } export declare function waitLoading(promise: Promise, options?: Option & Partial): Promise; export declare const closeLoading: () => Promise; export declare const changeLoading: (state: Partial) => void; declare type State = { text?: string; transparent?: boolean; position?: 'start' | 'center' | 'end'; }; /** * @customElement dy-wait */ export declare class DuoyunWaitElement extends GemElement { static instance?: DuoyunWaitElement; static wait: typeof waitLoading; static close: () => Promise; static change: (state: Partial) => void; modal: boolean; constructor(state: State); state: State; mounted: () => void; unmounted: () => void; render: () => import("lit-html/lib/template-result").TemplateResult; } export {}; //# sourceMappingURL=wait.d.ts.map