import './index.less'; interface AtsToastProps { type?: 'loading' | 'success' | 'fail' | 'submitted'; duration?: number; text?: string; } declare class AtsToast { type: string; duration: number; text: string; isShow: boolean; show({ type, duration, text }: AtsToastProps): void; hide(): void; getInstance(): void; createRoot(id: any): HTMLElement; } declare const _default: AtsToast; export default _default;