import type { JsonCodec } from "../ports/codec.js"; import type { FileSystem } from "../ports/filesystem.js"; export interface RotatingNdjsonLogOptions { readonly fs: FileSystem; readonly codec: JsonCodec; readonly logPath: string; readonly maxBytes?: number; } export declare class RotatingNdjsonLog { private readonly fs; private readonly codec; private readonly logPath; private readonly maxBytes; constructor(options: RotatingNdjsonLogOptions); append(entry: object): Promise; private rotateIfNeeded; } //# sourceMappingURL=rotating-ndjson-log.d.ts.map