export type JsonSchema = Record; export declare class CataloxPayloadSchemaRegistryError extends Error { constructor(message: string); } export interface PayloadSchemaRegistry { get(schemaId: string): JsonSchema | null; /** All registered schemas (for AJV $ref resolution). */ list(): JsonSchema[]; } /** * Locate the `schemas/` directory shipped with `@x12i/catalox` (works from both `src/` and `dist/` layouts). */ export declare function getBundledCataloxSchemasDir(): string; /** * Load versioned payload JSON Schemas from a `schemas/registry.json` + relative files. */ export declare function createBundledPayloadSchemaRegistry(baseDir?: string): PayloadSchemaRegistry; /** In-memory registry for tests and host-injected schema packs. */ export declare function createInMemoryPayloadSchemaRegistry(entries: Record): PayloadSchemaRegistry; //# sourceMappingURL=payload-schema-registry.d.ts.map