import "@hdgd/icons/lib/whitesuccess-o"; import "@hdgd/icons/lib/whiteerror-o"; import "@hdgd/icons/lib/whitewarning-o"; import HdgElement from "@hdgd/core"; import "../overlay"; import "../loading"; declare class HdgToast extends HdgElement { type: string; icon: string; show: boolean; content: any; dRemove: boolean; timer: any; iconSize: number; iconColor: string; zIndex: number; loadingIconDirection: "horizontal" | "vertical"; iconRef: any; toastRef: any; static allowMultiple: boolean; componentDidMount(): void; transitionendChange: () => void; shouldComponentUpdate(propName: string, oldValue: string | boolean, newValue: string | boolean): boolean; hide: () => void; renderIcon: () => any; renderLoading: () => any; renderOther: () => any; render(): any; } declare type ToastParams = { duration?: number; close?: () => void; size?: number; zIndex?: number; }; export { HdgToast }; declare const _default: { text: (msg?: string, opts?: ToastParams) => HdgToast; success: (msg?: string, opts?: ToastParams) => HdgToast; error: (msg?: string, opts?: ToastParams) => HdgToast; warning: (msg?: string, opts?: ToastParams) => HdgToast; loading: (msg?: string, opts?: ToastParams & { loadingIconDirection?: "horizontal" | "vertical"; }) => HdgToast; hide: () => void; allowMultiple: () => void; }; export default _default;