type CreateValidatorOptions = {
    errorPrefix?: string;
    dataVar?: string;
};
export declare function createValidator<T>(schema: object, options?: CreateValidatorOptions): (data: unknown) => T;
export declare function validateWithResult<T>(schema: object, data: unknown): {
    success: boolean;
    data?: T;
    error?: string;
};
export {};
//# sourceMappingURL=ajv-validator.d.ts.map