declare enum SnackType { SUCCESS = "success", INFO = "info", ERROR = "error", CANCEL = "cancel", OK = "ok", DEBUG = "debug", WARNING = "warning", CLOSE = "close" } type Msg = string | null | number | boolean | object | any[]; declare const success: any; declare const info: any; declare const warning: any; declare const error: any; declare const debug: any; declare const cancel: any; declare const ok: any; declare const colorLog: (msg: string, color: SnackType) => any; declare const snack: { info(msg: Msg, timeout?: number): void; success(msg: Msg, timeout?: number): void; warning(msg: Msg, timeout?: number): void; error(msg: Msg, timeout?: number): void; }; /** * Snackbar * @param {Msg} msg - Message to display * @param {SnackType} type - info, warning, error, success * @param {number} timeout - how long to suspend snackbar */ declare function snackbar(msg: Msg, type?: SnackType, timeout?: number): void; export { cancel, colorLog, debug, error, info, ok, snack, snackbar, success, warning };