/** * @param {string} file * @param {module} fs * @param {string=} appendMethod Defaults to 'appendFileSync' * @example new FileLogger('./convert.log', require('fs'), 'appendFileSync') * @constructor */ declare class FileLogger { private _file; private _fs; private _appendMethod; /** * @param {string} file * @param {module} fs * @param {string=} appendMethod */ constructor(file: string, fs: any, appendMethod?: string); private _write; /** * @param {Array} args */ log(...args: any): Promise; /** * @param {Array} args */ info(...args: any): Promise; /** * @param {Array} args */ debug(...args: any): Promise; /** * @param {Array} args */ warn(...args: any): Promise; /** * @param {Array} args */ error(...args: any): Promise; } export { FileLogger };