/*! * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { ExtendedHTMLElement } from '../../helper/dom'; import { ChatItem } from '../../static'; export interface ChatItemFormItemsWrapperProps { tabId: string; chatItem: Partial; classNames?: string[]; onModifierEnterPress?: (formData: Record, tabId: string) => void; onTextualItemKeyPress?: (event: KeyboardEvent, itemId: string, formData: Record, tabId: string, disableAllCallback: () => void) => void; onFormChange?: (formData: Record, isValid: boolean, tabId: string) => void; } export declare class ChatItemFormItemsWrapper { private readonly props; private readonly options; private readonly validationItems; private isValid; private tooltipOverlay; private tooltipTimeout; onValidationChange?: (isValid: boolean) => void; onAllFormItemsDisabled?: () => void; render: ExtendedHTMLElement; constructor(props: ChatItemFormItemsWrapperProps); private readonly showTooltip; readonly hideTooltip: () => void; private readonly getHandlers; private readonly handleTextualItemKeyPressEvent; private readonly isItemValid; isFormValid: () => boolean; disableAll: () => void; enableAll: () => void; getAllValues: () => Record>>; }