/** * `type` is `text`, `json_object`, or `json_schema`. For `json_schema`, supply `name`, `schema`, and optionally `strict`. */ export interface ResponseTextFormat { type: ResponseTextFormat.Type; name?: string | undefined; strict?: boolean | undefined; schema?: Record | undefined; /** Accepts any additional properties */ [key: string]: any; } export declare namespace ResponseTextFormat { const Type: { readonly Text: "text"; readonly JsonObject: "json_object"; readonly JsonSchema: "json_schema"; }; type Type = (typeof Type)[keyof typeof Type]; }