export declare function stripCodeFences(text: string): string; /** * Extract JSON from text that may contain code fences and trailing prose. * Handles the common LLM pattern of returning: * ```json\n{...}\n```\n\n**Reasoning:**\n... */ export declare function extractJSON(text: string): string; export declare function safeParseJSON(text: string): Record | null;