import { FileTransportOptions } from './types'; import { VerbaTransport } from '../types'; /** * A Verba Transport for outputting to a file. * * Note: If using this Transport, be sure to call `await log.close()` before your program exits * to ensure that the stream finishes writing log messages to it. * * @example * import verba, { fileTransport } from 'verba' * const log = verba({ * transports: [fileTransport({ outfile: 'log.txt' })] * }) */ export declare const fileTransport: (options?: FileTransportOptions) => VerbaTransport;