export declare class Logger implements ILogger { private static instance; static logger(): ILogger; static setLogger(l: ILogger): void; debug(format: any, ...param: any[]): void; error(format: any, ...param: any[]): void; info(format: any, ...param: any[]): void; verbose(format: any, ...param: any[]): void; warn(format: any, ...param: any[]): void; wtf(format: any, ...param: any[]): void; } export interface ILogger { wtf(format: any, ...param: any[]): void; error(format: any, ...param: any[]): void; warn(format: any, ...param: any[]): void; info(format: any, ...param: any[]): void; verbose(format: any, ...param: any[]): void; debug(format: any, ...param: any[]): void; } /** * The main purpose of this is to indicate in the UI that stuff is being * processed. * * This is currently only used for loading the table, but could be used * anywhere. Typically, calling `start` will pop up a progress dialog and * show what's going on. */ export declare class Progress implements IProgress { private currentTitle?; private currentAction?; private static instance; /** * Get the global instance. */ static progress(): IProgress; /** * Set a new global instance. The default instance, this class, * just dumps it to the console. * @param p */ static setProgress(p: IProgress): void; /** * Indicate the beginning of a new major operation. This is typically the * title of the progress dialog. * @param id ID of the operation. * @param title Displayed text */ start(id: string, title: string): void; /** * Ends a previously started operation. All operation must end, otherwise * the progress dialog won't hide! * @param id ID of the operation */ end(id: string): void; /** * Show what's currently going on. This is usually displayed on one line, * where the action is left-aligned, and the details, if given, on the * right. * * @param action Text to display on the left * @param details Details on the right */ show(action: string, details?: string): void; /** * Show a new detail for the current action. This only updates the text * on the "right" side. * @param details Details on the right */ details(details: string): void; private print; } export interface IProgress { start(id: string, title: string): void; end(id: string): void; show(action: string, details?: string): void; details(details: string): void; } export declare const logger: typeof Logger.logger; export declare const progress: typeof Progress.progress;