/**
 * Node-only file sink. Imports `node:fs` — DO NOT import this from a Worker
 * or edge runtime; use `./sink-fetch` instead.
 */
import type { TelemetryEnvelope } from './schema';
import type { TelemetrySink } from './sink-fetch';
/** Append envelopes to a JSONL file, partitioned by repo + date. */
export declare class FileTelemetrySink implements TelemetrySink {
    private readonly baseDir;
    private streams;
    constructor(baseDir: string);
    emit(envelope: TelemetryEnvelope): void;
    close(): Promise<void>;
}
/** Default location for local telemetry, mirroring bad CLI's convention. */
export declare function defaultTelemetryDir(homeDir: string, override?: string): string;
//# sourceMappingURL=sink-file.d.ts.map