import { Observable } from 'rxjs'; export interface Logger { /** * Logs messages or objects with the debug level. * Works the same as console.log(). */ debug(...objects: any[]): any; /** * Logs messages or objects with the success level. * Works the same as console.log(). */ success(...objects: any[]): any; /** * Logs messages or objects with the info level. * Works the same as console.log(). */ info(...objects: any[]): any; /** * Logs messages or objects with the warning level. * Works the same as console.log(). */ warn(...objects: any[]): any; /** * Logs messages or objects with the error level. * Works the same as console.log(). */ error(...objects: any[]): any; } export interface Dialog { /** show successful toast */ success(message: string, title?: string, optionsOverride?: any): any; /** show info toast */ info(message: string, title?: string, optionsOverride?: any): any; /** show warning toast */ warning(message: string, title?: string, optionsOverride?: any): any; /** show error toast */ error(message: string, title?: string, optionsOverride?: any): any; /** show sweetalert2 as window.alert */ alert(message: string, title?: string, type?: SweetAlertType): Promise; /** show sweetalert2 as window.confirm */ confirm(message: string, title?: string, type?: SweetAlertType): Observable; /** show sweetalert2 as a wait dialog */ wait(param?: string | boolean): Promise; } export declare type SweetAlertType = 'success' | 'error' | 'warning' | 'info' | 'question';