/** * Simple helper to display basic toast messages. These toasts do not stack, and * because of this are meant to be used only for infrequent notifications (those * that would rarely happen back to back within a few seconds). * * The main reason to use this and not a toast library is CSS efficiency. All * toast libraries require some block of CSS be installed. That works well for * an app but every Web Component gets compiled as its own mini sandbox app. * That means a toast library's CSS would get compiled over and over. This * method is styled inline and minifie to <3K, most of which is the icons. If * we wanted to trim it more we could move those out to an icon library because * they're reused in other controls as well. */ export interface IVerdocsToastConfig { duration?: number; style?: 'error' | 'info' | 'success' | 'default'; } export declare const VerdocsToast: (text: string, config?: IVerdocsToastConfig) => void;