export { looksLikeJSONSchema, makeJsonSchemaPartial } from "@tambo-ai/client"; import { JSONSchema7 } from "json-schema"; /** * Extended JSON Schema type that includes draft 2020-12 features like prefixItems. * The json-schema package types are from draft-07 and don't include prefixItems. */ export type JSONSchema7Extended = JSONSchema7 & { prefixItems?: JSONSchema7[]; }; /** * Checks if a JSON Schema represents a tuple (array with positional items). * Supports both draft-07 (items as array) and draft 2020-12 (prefixItems). * @param schema - The JSON Schema to check * @returns True if the schema represents a tuple */ export declare function isJsonSchemaTuple(schema: JSONSchema7Extended): schema is JSONSchema7Extended & { type: "array"; }; /** * Gets the tuple items from a JSON Schema. * Supports both draft-07 (items as array) and draft 2020-12 (prefixItems). * @param schema - The JSON Schema tuple * @returns Array of item schemas, or undefined if not a tuple */ export declare function getJsonSchemaTupleItems(schema: JSONSchema7Extended): JSONSchema7[] | undefined; //# sourceMappingURL=json-schema.d.ts.map