import { type Schema } from 'ajv/dist/2019'; import { type Ajv as IAjv, AjvInvalidParamError } from '@eggjs/tegg/ajv'; export declare class Ajv implements IAjv { #private; static InvalidParamErrorClass: typeof AjvInvalidParamError; protected _init(): void; /** * Validate data with typebox Schema. * * If validate fail, with throw `Ajv.InvalidParamErrorClass` */ validate(schema: Schema, data: unknown): void; }