import type { TSchema } from "typebox"; /** * The output shape is intentionally typed as a plain object literal * (not a full JSON-Schema TS type). The endpoint's `json_schema` * `schema` slot accepts this shape and we round-trip it through the * request body. Keeping the return type loose avoids dragging a * JSON-Schema dependency into the converter. */ export type TChatCompletionsJsonSchema = Record; /** * Convert a TypeBox schema into a standard JSON Schema document * suitable for an OpenAI-compatible `json_schema` response format. * * Throws `UnsupportedSchemaError` when the source schema contains a * TypeBox primitive outside the supported subset. */ export declare function typeboxToJsonSchema(schema: TSchema): TChatCompletionsJsonSchema; //# sourceMappingURL=structured-output.d.ts.map