/** * Map a JSON Schema (Draft 2020-12 produced by `zod-to-json-schema`) into * the {@link FieldDescriptor} map consumed by {@link VaultSchemaSnapshot}. * * Used by both the persisted-schema path (decrypted envelope body) and the * live-validator path (in-process derivation). * * @module */ import type { FieldDescriptor, FieldSource } from './types.js'; export declare function jsonSchemaToFields(jsonSchema: unknown, source: FieldSource, refs?: Record): Record;