import type { TemplateResult } from '@mantou/gem/lib/element'; import { GemElement } from '@mantou/gem/lib/element'; import './use'; import './action-text'; type Type = 'info' | 'success' | 'warning' | 'error' | 'loading'; type ToastItem = { key: string; type: Type; content: string | TemplateResult; action?: { text: string; handle: () => void; }; }; type ToastOptions = Partial & { duration?: number; debug?: boolean; }; export declare class DuoyunToastElement extends GemElement { #private; items?: ToastItem[]; static instance?: DuoyunToastElement; static open(options: ToastOptions): void; static open(type: Type, content: string | TemplateResult): void; render: () => TemplateResult; } export declare const Toast: typeof DuoyunToastElement; export {}; //# sourceMappingURL=toast.d.ts.map