import type { ServerSTTEvalBatchRequest, ServerSTTEvalLangfuseConfig, ServerSTTEvalReport } from "../../types/index.js";
/** The export configuration from the environment, or `undefined` when it is not set up. */
export declare function sttEvalLangfuseConfigFromEnv(env?: NodeJS.ProcessEnv): ServerSTTEvalLangfuseConfig | undefined;
export declare class STTEvalLangfuseExporter {
    private readonly _config;
    private _tail;
    constructor(config: ServerSTTEvalLangfuseConfig);
    /** Queues one batch (and the call's comparison after it) for export. Never throws. */
    export(batch: ServerSTTEvalBatchRequest, report: ServerSTTEvalReport | undefined): Promise<void>;
    /** Resolves once every export queued so far has been attempted. */
    flush(): Promise<void>;
    private _eventsFor;
    private _send;
}
