import { ExtendedDMMFFieldValidatorCustomErrors } from './extendedDMMFFieldValidatorCustomErrors'; import { ZodValidatorType } from './extendedDMMFFieldValidatorType'; export type ZodArrayValidatorKeys = 'array'; export type ZodStringValidatorKeys = ZodArrayValidatorKeys | 'max' | 'min' | 'length' | 'email' | 'url' | 'emoji' | 'uuid' | 'cuid' | 'cuid2' | 'ulid' | 'regex' | 'includes' | 'startsWith' | 'endsWith' | 'datetime' | 'ip' | 'trim' | 'toLowerCase' | 'toUpperCase' | 'noDefault'; export type ZodNumberValidatorKeys = ZodArrayValidatorKeys | 'gt' | 'gte' | 'lt' | 'lte' | 'int' | 'positive' | 'nonpositive' | 'negative' | 'nonnegative' | 'multipleOf' | 'finite' | 'noDefault'; export type ZodDateValidatorKeys = ZodArrayValidatorKeys | 'min' | 'max'; export type ZodBigIntValidatorKeys = ZodArrayValidatorKeys | 'gt' | 'gte' | 'lt' | 'lte' | 'positive' | 'nonpositive' | 'negative' | 'nonnegative' | 'multipleOf'; export type ZodCustomValidatorKeys = ZodArrayValidatorKeys | 'use' | 'omit'; export interface ScalarValidatorFnOpts { key: string; pattern: string; } export type ValidatorFn = (opts: ScalarValidatorFnOpts) => boolean; export type ValidatorFunctionMap = Record; export type ValidatorMap = Record; export declare const VALIDATOR_KEY_REGEX: RegExp; export declare const STRING_VALIDATOR_NUMBER_AND_MESSAGE_REGEX: RegExp; export declare const STRING_VALIDATOR_MESSAGE_REGEX: RegExp; export declare const STRING_VALIDATOR_REGEX: RegExp; export declare const STRING_VALIDATOR_STRING_AND_MESSAGE_REGEX: RegExp; export declare const NUMBER_VALIDATOR_NUMBER_AND_MESSAGE_REGEX: RegExp; export declare const NUMBER_VALIDATOR_MESSAGE_REGEX: RegExp; export declare const DATE_VALIDATOR_NUMBER_AND_MESSAGE_REGEX: RegExp; export declare const BIGINT_VALIDATOR_NUMBER_AND_MESSAGE_REGEX: RegExp; export declare const BIGINT_VALIDATOR_MESSAGE_REGEX: RegExp; export declare const CUSTOM_VALIDATOR_MESSAGE_REGEX: RegExp; export declare const CUSTOM_OMIT_VALIDATOR_MESSAGE_REGEX: RegExp; export declare const ARRAY_VALIDATOR_MESSAGE_REGEX: RegExp; export declare const STRING_VALIDATOR_REGEX_MAP: ValidatorMap; export declare const NUMBER_VALIDATOR_REGEX_MAP: ValidatorMap; export declare const DATE_VALIDATOR_REGEX_MAP: ValidatorMap; export declare const BIGINT_VALIDATOR_REGEX_MAP: ValidatorMap; export declare const CUSTOM_VALIDATOR_REGEX_MAP: ValidatorMap; export declare const ENUM_VALIDATOR_REGEX_MAP: ValidatorMap; export declare const OBJECT_VALIDATOR_REGEX_MAP: ValidatorMap; export declare class ExtendedDMMFFieldValidatorMap extends ExtendedDMMFFieldValidatorCustomErrors { protected _validatorMap: ValidatorFunctionMap; protected _validateRegexInMap: (validationMap: ValidatorMap, { pattern, key }: ScalarValidatorFnOpts) => boolean; protected _validatePatternInMap(opts: ScalarValidatorFnOpts): boolean; protected _getValidatorKeyFromPattern(pattern: string): string; protected _validatorIsValid(): boolean; } //# sourceMappingURL=extendedDMMFFieldValidatorMap.d.ts.map