import type { LanguageCode } from '@longrun-ai/kernel/types/language';
import { type McpToolsetManualState } from '../mcp/manual-problems';
export type McpToolsetMappingEntry = {
    serverId: string;
    transport: 'stdio' | 'streamable_http' | 'invalid' | 'unknown';
    status: 'registered' | 'declared_unloaded' | 'declared_invalid' | 'disabled';
    loadedToolCount?: number;
    loadedToolNames?: string[];
    loadedToolNamesPreview?: string[];
    errorText?: string;
    manualState: McpToolsetManualState;
};
export type McpToolsetMappingSnapshot = {
    kind: 'missing';
} | {
    kind: 'invalid_yaml';
    errorText: string;
} | {
    kind: 'loaded';
    entries: ReadonlyArray<McpToolsetMappingEntry>;
};
export declare function renderMcpToolsetManualDetailsSection(language: LanguageCode, snapshot: McpToolsetMappingSnapshot): string;
export declare function readMcpToolsetMappingSnapshot(): Promise<McpToolsetMappingSnapshot>;
export declare function renderMcpToolsetMappingSection(language: LanguageCode, snapshot: McpToolsetMappingSnapshot): string;
export declare function renderMcpToolsetSetupGuideSection(language: LanguageCode, snapshot: McpToolsetMappingSnapshot): string;
export declare function renderMcpManual(language: LanguageCode): Promise<string>;
export declare function measureRenderedTeamMgmtMcpTopicRawChars(): Promise<number>;
