import { FormTypes } from '@oneblink/types'; import { CaptchaType, ExecutedLookups, FormElementsConditionallyShown } from '../../types/form'; declare const validationExtensions: { lookups({ executedLookups, formElement, }: { formElement: FormTypes.LookupFormElement & FormTypes.FormElementRequired & { type: FormTypes.FormElement["type"]; }; executedLookups: ExecutedLookups; }): string[]; presence(value: unknown, { required, requiredMessage }: FormTypes.FormElementRequired, message: string): string[]; regex(value: unknown, formElement: FormTypes.FormElementWithInput): string[]; attachment(value: unknown): string[]; numberRegex(value: unknown, formElement: FormTypes.NumberElement): string[]; nestedElements(value: unknown, { formElement, formElements, formElementsConditionallyShown, executedLookups, captchaType, isOffline, }: { formElement: FormTypes.FormElementWithName; formElements: FormTypes.FormElementWithName[] | undefined; formElementsConditionallyShown: FormElementsConditionallyShown | undefined; executedLookups: ExecutedLookups; captchaType: CaptchaType; isOffline: boolean; }): { type: "formElements"; formElements: import("../../types/form").FormElementsValidation; } | undefined; offline(isOffline: boolean, message: string): string[]; }; export default validationExtensions;