import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service"; import { IToolResult } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService"; import { IToolResultCache, IToolResultFilter } from "../../common/tools/toolResultCompressor.js"; import { IToolResultCompressor } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service"; export declare class ToolResultCompressorService extends Disposable implements IToolResultCompressor { private readonly _configurationService; private readonly _telemetryService; private readonly _logService; readonly _serviceBrand: undefined; private readonly _filters; private readonly _caches; constructor(_configurationService: IConfigurationService, _telemetryService: ITelemetryService, _logService: ILogService); registerFilter(filter: IToolResultFilter): void; registerCache(cache: IToolResultCache): void; maybeCompress(toolId: string, input: unknown, result: IToolResult): IToolResult | undefined; private _buildCacheHitResult; private _recordInCaches; private _sendTelemetry; }