import type { TSchema } from "typebox"; /** * The output shape is intentionally typed as a plain object literal * (not a full JSON-Schema TS type) — the OpenAI Responses API * accepts this shape and we round-trip it through JSON.stringify * when building the request body. Keeping the return type loose * avoids dragging a JSON-Schema dependency into the converter. */ export type TOpenAiJsonSchema = Record; /** * Convert a TypeBox schema into an OpenAI Responses-API * strict-mode-compatible JSON Schema document. * * Throws `UnsupportedSchemaError` when the source schema contains a * TypeBox primitive outside the supported subset. */ export declare function typeboxToOpenAiSchema(schema: TSchema): TOpenAiJsonSchema; //# sourceMappingURL=structured-output.d.ts.map