import { IconProps } from '@/utils'; import type { Component } from '@vue/runtime-core'; import { Color } from '../colors'; interface AlertTemplate { color: Color; icon: Component; } declare type AlertType = 'success' | 'error' | 'warning' | 'info' | 'removed'; interface AlertOptions { template: AlertType | AlertTemplate; duration?: number; } export declare const alert: >(alert: string, opt?: AlertOptions | undefined) => { close: () => void; onClose: (listener: import("@/utils").Listener) => () => void; }; export {}; //# sourceMappingURL=alert.d.ts.map