import type { Task } from "../types/index.js";
export type McpDetail = "compact" | "full";
export declare const CORE_MCP_TOOLS: Set<string>;
export declare const MCP_TOOL_GROUPS: Record<string, readonly string[]>;
export declare const MCP_PROFILE_GROUPS: Record<string, readonly string[]>;
export declare function shouldRegisterToolForProfile(name: string, profileValue?: string | undefined, groupValue?: string | undefined): boolean;
export declare function truncateText(value: string | null | undefined, maxChars?: number): string | null;
export declare function compactTask(task: Task, maxDescriptionChars?: number): Record<string, unknown>;
export declare function compactStatus(status: Record<string, unknown>): Record<string, unknown>;
export declare function compactHandoff(handoff: unknown): unknown;
export declare function compactJson(value: unknown): string;
export declare function estimateMcpTokens(text: string): number;
export declare function withMcpTokenDiagnostics(result: unknown, toolName: string, enabled?: boolean): unknown;
export declare function installMcpTokenDiagnostics(server: any): void;
//# sourceMappingURL=token-utils.d.ts.map