import * as nodeFs from 'node:fs'; export interface JsonlWriterOptions { dir: string; openSync?: typeof nodeFs.openSync; writeSync?: typeof nodeFs.writeSync; closeSync?: typeof nodeFs.closeSync; mkdirSync?: typeof nodeFs.mkdirSync; now?: () => Date; } export declare class JsonlWriter { private fd; private currentDate; private readonly dir; private readonly openSync; private readonly writeSync; private readonly closeSync; private readonly now; constructor(opts: JsonlWriterOptions); private filenameFor; writeLine(record: Record): void; get currentPath(): string; close(): void; } //# sourceMappingURL=jsonl-writer.d.ts.map