/** Compact an array of MCP tool objects in-place (returns new array). */
export declare function compactToolList(tools: unknown[]): Record<string, unknown>[];
/** Returns true when an outgoing JSON-RPC message is a tools/list result. */
export declare function isToolsListResponse(message: unknown): boolean;
/** Compact a tools/list JSON-RPC response message. Returns a new object. */
export declare function compactToolsListMessage(message: Record<string, unknown>): Record<string, unknown>;
//# sourceMappingURL=tool-list-compactor.d.ts.map