import type { MetaData } from './types.js'; export { createFieldValidator } from './fieldValidator.js'; export type { FieldCheck } from './fieldValidator.js'; /** * Validate a full values object against an owner type's definitions and return * the object to persist into the entity's `meta_data` column (defaults applied, * unknown keys dropped, repeater `_id` stripped). Throws (status 400) on the * first failure, with a field-scoped message. */ export declare function validateMetafields(ownerType: string, input?: MetaData): Promise; /** * Validate a single field's value against its definition (for partial / * out-of-band writes). Returns the cleaned value or throws (status 400). */ export declare function validateMetafield(ownerType: string, namespace: string, key: string, value: unknown): Promise;