declare const DateString: (fmt?: string) => string; type LoggerType = 'Loaded' | 'Test' | 'Dev' | 'Error' | 'Warn' | String; interface Options { isPrint?: boolean; execTime?: number; payload?: any; } declare class _Logger { private static instance; /** * The static method that controls the access to the singleton instance. * * This implementation let you subclass the Singleton class while keeping * just one instance of each subclass around. */ static getInstance: () => _Logger; /** * The Singleton's constructor should always be private to prevent direct * construction calls with the `new` operator. */ private _logPath; private constructor(); private init; private _baseHandler; private _processId; log(type: LoggerType, message: string, options?: Options): void | { _str: string; options: Options; }; error(type: LoggerType, message: string, options?: Options): void | { _str: string; options: Options; }; warn(type: LoggerType, message: string, options?: Options): void | { _str: string; options: Options; }; } declare const Logger: _Logger; export { Logger, DateString };