/** * this plugin validates documents before they can be inserted into the RxCollection. * It's using z-schema as jsonschema-validator * @link https://github.com/zaggino/z-schema */ import ZSchema from 'z-schema'; import type { RxJsonSchema } from '../../types/index.d.ts'; export declare const ZSchemaClass: typeof ZSchema; export declare function getZSchema(): ZSchema; export declare function getValidator(schema: RxJsonSchema): (docData: any) => any; export declare const wrappedValidateZSchemaStorage: (args: { storage: import("../../index.ts").RxStorage; }) => import("../../index.ts").RxStorage;