import type { ProviderConfig } from '../client';
export type ProviderToolOutputLimitResult = Readonly<{
    text: string;
    truncated: boolean;
    originalChars: number;
    limitChars: number;
}>;
export declare function resolveProviderToolResultMaxChars(providerConfig?: Pick<ProviderConfig, 'apiType' | 'tool_result_max_chars'>): number;
export declare function truncateProviderToolOutputText(text: string, limitChars?: number): ProviderToolOutputLimitResult;
