/**
 * ToolProxy — intercepts and compresses tool results before they enter context.
 *
 * Applies format-aware compressors for common OMK tool outputs (git, grep, etc.)
 * to keep context bounded within ContextBudget limits.
 */
export interface ToolResultCompression {
    readonly original: string;
    readonly compressed: string;
    readonly savedBytes: number;
    readonly method: string;
}
export interface ToolProxyOptions {
    readonly maxResultTokens: number;
    readonly compressors?: Map<string, (input: string) => string>;
}
export declare function createToolProxy(options?: Partial<ToolProxyOptions>): {
    compress: (toolName: string, output: string) => ToolResultCompression;
    compressAuto(output: string): ToolResultCompression;
};
