export type TextToolFallbackSource = "provider-tools-disabled" | "provider-returned-no-tool-call" | "disabled";
export type TextToolFallbackDecision = {
    shouldRun: boolean;
    source: TextToolFallbackSource;
    degraded: boolean;
    modelDialogueReadyCredit: boolean;
    reason: string;
};
export type TextToolFallbackPolicyInput = {
    runOk: boolean;
    providerToolsEnabled: boolean;
    nativeToolCallCount: number;
    explicitFallbackRequestCount: number;
    inferredFallbackRequestCount: number;
};
export declare function decideTextToolFallback(input: TextToolFallbackPolicyInput): TextToolFallbackDecision;
