/**
 * Utilities for extracting JSON payloads from LLM outputs.
 *
 * We see common failure modes:
 * - "Here's an example: {..}\nHere's the real answer: {..}" (multiple JSON blocks)
 * - fenced ```json blocks
 * - leading/trailing prose around JSON
 *
 * These helpers attempt multiple candidates and let callers validate with schemas.
 */
declare function stripCodeFences(text: string): string;
declare function extractJsonCandidates(text: string): string[];

export { extractJsonCandidates, stripCodeFences };
