type Unknown = Record<string, unknown>;
export interface HarvestContext {
    requestId?: string;
    idPrefix?: string;
    chunkSize?: number;
    source?: 'chat' | 'responses' | 'messages';
}
export interface HarvestSignal {
    type: 'delta' | 'final' | 'compat';
    payload: Unknown;
}
export interface DeltaEvent {
    tool_calls?: Array<{
        index: number;
        id: string;
        type: 'function';
        function: {
            name?: string;
            arguments?: string;
        };
    }>;
    content?: string;
    role?: string;
}
export interface HarvestResult {
    deltaEvents: DeltaEvent[];
    normalized?: Unknown;
    stats?: Unknown;
}
export declare function harvestTools(signal: HarvestSignal, ctx?: HarvestContext): HarvestResult;
export {};
