export type FormatCompiler = import('./index.js').FormatCompiler; /** @typedef {import('./index.js').FormatCompiler} FormatCompiler */ /** * Registers a single format compiler under a name. * Existing registrations are never overwritten. * @param {Record} registered - The formats registry object * @param {string} name - The format name (e.g. 'email', 'uri', 'date-time') * @param {FormatCompiler} formatCompiler - The compiler to register * @returns {boolean} True when the compiler was registered */ export declare function registerFormatCompiler(registered: Record, name: string, formatCompiler: FormatCompiler): boolean; /** * Registers multiple format compilers at once. * Existing registrations are never overwritten. * @param {Record} registered - The formats registry object * @param {Record} formatCompilers - Object mapping format names to compiler functions * @returns {Record} The registry object passed in */ export declare function registerFormatCompilers(registered: Record, formatCompilers: Record): Record; export declare function getSchemaFormatCompiler(registered: any, name: any): any; export declare function compileFormatBasic(schemaObj: any, jsonSchema: any): any;