import { z } from 'zod'; /** * .what = parses api response content based on schema type * .why = object schemas need JSON.parse; string schemas take content directly * * .note = string schemas (plain or nullable) receive plain text from api * because vllm constraint requires z.string() for tool use output */ export declare const castContentToOutputSchema: (input: { content: string; schema: z.Schema; }) => T;