/*! * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { ExtendedHTMLElement } from '../main'; import { ValidationPattern } from '../static'; export declare const isTextualFormItemValid: (value: string, validationPatterns: { operator?: 'and' | 'or'; genericValidationErrorMessage?: string; patterns: ValidationPattern[]; }, mandatory?: boolean) => { isValid: boolean; validationErrors: string[]; }; export declare const isMandatoryItemValid: (value: string) => boolean; export declare const checkTextElementValidation: (inputElement: ExtendedHTMLElement, validationPatterns: { operator?: 'and' | 'or'; patterns: ValidationPattern[]; } | undefined, validationErrorBlock: ExtendedHTMLElement, readyToValidate: boolean, mandatory?: boolean) => void;