UNPKG

mcp-think-tank

Version:

Structured thinking and knowledge management tool for Model Context Protocol

61 lines 1.88 kB
/** * Output formatters for different types of thinking processes. * These help structure the output in a consistent, readable format. */ /** * Format a general reasoning process * * @param content - The reasoning content * @param metadata - Optional metadata about the reasoning * @returns Formatted markdown string */ export declare function formatGeneralReasoning(content: string, metadata?: { title?: string; step?: number; totalSteps?: number; category?: string; context?: string; hasReflection?: boolean; hasResearch?: boolean; }): string; /** * Format a problem-solving process * * @param content - The reasoning content * @param metadata - Optional metadata about the reasoning * @returns Formatted markdown string */ export declare function formatProblemSolving(content: string, metadata?: { problem?: string; step?: number; totalSteps?: number; context?: string; }): string; /** * Format a comparative analysis * * @param content - The reasoning content * @param metadata - Optional metadata about the reasoning * @returns Formatted markdown string */ export declare function formatComparison(content: string, metadata?: { title?: string; options?: string[]; context?: string; }): string; /** * Detect the most appropriate formatter based on content * * @param content - The reasoning content * @returns The name of the most appropriate formatter */ export declare function detectFormatterType(content: string): 'general' | 'problem' | 'comparison'; /** * Main formatter function that detects type and applies appropriate formatting * * @param content - The reasoning content * @param metadata - Optional metadata * @returns Formatted markdown */ export declare function formatThought(content: string, metadata?: Record<string, any>): string; //# sourceMappingURL=formatters.d.ts.map