/** * Parse structured output from provider text response. * * Codex and OpenCode return structured output as JSON text in agent messages. * This function extracts a JSON object from the text when outputSchema was requested. * * Extraction strategies (in order): * 1. Direct JSON parse — text is pure JSON starting with `{` * 2. Code block extraction — JSON inside ```json ... ``` or ``` ... ``` * 3. Brace extraction — find outermost `{` ... `}` in the text */ export declare function parseStructuredOutput(text: string, hasOutputSchema: boolean): Record | undefined; //# sourceMappingURL=structuredOutput.d.ts.map