export interface StreamingToolCall {
    id?: string;
    type: 'function';
    function: {
        name?: string;
        arguments?: string;
    };
}
export interface StreamingToolExtractorOptions {
    idPrefix?: string;
}
export declare class StreamingTextToolExtractor {
    private opts;
    private buffer;
    private idCounter;
    constructor(opts?: StreamingToolExtractorOptions);
    reset(): void;
    feedText(text: string): StreamingToolCall[];
}
export declare function createStreamingToolExtractor(opts?: StreamingToolExtractorOptions): StreamingTextToolExtractor;
