import type { Ocorrencia, StreamManifest, StreamOptions } from '../types/index.js';
export declare class RelatorioStream {
    private manifest;
    private options;
    private finalized;
    private buffer;
    private currentShardIndex;
    private currentShardOcorrencias;
    private currentShardBytes;
    private currentShardFile;
    private firstTimestamp;
    constructor(options: StreamOptions);
    private gerarCaminhoShard;
    write(ocorrencia: Ocorrencia): void;
    writeBatch(ocorrencias: Ocorrencia[]): void;
    private flushBuffer;
    private rotacionarShard;
    getManifest(): StreamManifest;
    end(metadata?: Record<string, unknown>): Promise<{
        manifestFile: string;
        manifest: StreamManifest;
    }>;
    getTotalOcorrencias(): number;
    getShardCount(): number;
}
export declare function criarStreamParaProjeto(outputDir: string, options?: Partial<StreamOptions>): Promise<RelatorioStream>;
//# sourceMappingURL=streaming-report.d.ts.map