import { FormTypes, SubmissionTypes } from '@oneblink/types'; import { CaptchaType, ExecutedLookups, FormElementsConditionallyShown, FormElementsValidation } from '../../types/form'; export declare const RECAPTCHA_OFFLINE_MESSAGE = "We could not verify you are human while you are offline."; export default function validateSubmission({ elements, submission, formElementsConditionallyShown, executedLookups, captchaType, isOffline, }: { elements: FormTypes.FormElementWithName[]; submission: SubmissionTypes.S3SubmissionData['submission']; formElementsConditionallyShown: FormElementsConditionallyShown | undefined; executedLookups: ExecutedLookups; captchaType: CaptchaType; isOffline: boolean; }): FormElementsValidation | undefined;