export type McpToolsetManualSection = {
    title: string;
    content: string;
};
export type McpToolsetManual = {
    content?: string;
    contentFile?: string;
    sections: ReadonlyArray<McpToolsetManualSection>;
};
export type McpToolsetManualState = {
    kind: 'missing';
} | {
    kind: 'invalid';
    errorText: string;
} | {
    kind: 'present';
    manual: McpToolsetManual;
};
export type McpToolsetManualByServer = {
    manualByServerId: ReadonlyMap<string, McpToolsetManual>;
    invalidByServerId: ReadonlyMap<string, string>;
    warningTextByServerId: ReadonlyMap<string, string>;
};
export declare function emptyMcpToolsetManualByServer(): McpToolsetManualByServer;
export declare function mcpToolsetManualProblemPrefix(serverId: string): string;
export declare function mcpWorkspaceManualProblemPrefix(): string;
export declare function parseMcpManualByServer(rawText: string): McpToolsetManualByServer;
export declare function reconcileMcpToolsetManualProblems(params: {
    serverIds: ReadonlyArray<string>;
    manualInfo: McpToolsetManualByServer;
    measureRenderedWorkspaceMcpTopicRawChars: () => Promise<number>;
    workspaceManualPath: string;
}): Promise<void>;
