/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
export interface TextToolCall {
    name: string;
    arguments: Record<string, unknown>;
}
export interface ITextToolCallParser {
    parse(content: string): {
        cleanedContent: string;
        toolCalls: TextToolCall[];
    };
}
export declare class GemmaToolCallParser implements ITextToolCallParser {
    private readonly keyValuePattern;
    parse(content: string): {
        cleanedContent: string;
        toolCalls: TextToolCall[];
    };
    private collectMatches;
    private findBracketToolRequests;
    private findJsonToolRequests;
    private findXMLToolRequests;
    private parseToolCallContent;
    private parseXmlContent;
    private findInvokeToolRequests;
    private findGenericXmlToolRequests;
    private findUseToolRequests;
    private findUseUnderscoreToolRequests;
    private findKeyValueToolRequests;
    private removeMatchedRanges;
    private postProcessCleanedContent;
    private normalizeArguments;
    private applyToolSpecificNormalizations;
    private normalizeTodoEntry;
    private normalizeTodoStatus;
    private normalizeTodoPriority;
    private extractBalancedSegment;
    private tryRepairJson;
    private parseKeyValuePairs;
    private parseAttributeArguments;
    private parseXMLParameters;
    private parseValue;
    private findTagClose;
    private extractToolNameAndAttributes;
}
