/** * Shared detection for the `Schema | JsonSchema` inputs the public * `tool()` and `agent()` surfaces accept. * * Both surfaces take either a materialized contract schema or a raw JSON * Schema document, and both must tell them apart the same way, so the * predicates live here rather than beside either caller. * * @module schemas/schema-input */ import type { JsonSchema, Schema } from "../extensions/schema/index.js"; export declare function snapshotJsonSchemaObject(value: unknown): JsonSchema | undefined; export declare function isInferredJsonSchemaObject(value: JsonSchema): boolean; export declare function isContractSchema(value: unknown): value is Schema; //# sourceMappingURL=schema-input.d.ts.map