/*! * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { ExtendedHTMLElement } from '../../helper/dom'; import { CardRenderDetails, ChatItem } from '../../static'; export interface ChatItemCardProps { tabId: string; initVisibility?: boolean; chatItem: ChatItem; inline?: boolean; small?: boolean; onAnimationStateChange?: (isAnimating: boolean) => void; } export declare class ChatItemCard { readonly props: ChatItemCardProps; render: ExtendedHTMLElement; private tooltipOverlay; private tooltipTimeout; private readonly card; private readonly updateStack; private readonly initialSpinner; private cardFooter; private cardHeader; private cardTitle; private informationCard; private summary; private tabbedCard; private cardIcon; private contentBody; private chatAvatar; private chatFormItems; private customRendererWrapper; private chatButtonsInside; private chatButtonsOutside; private fileTreeWrapper; private fileTreeWrapperCollapsedState; private followUps; private readonly moreContentIndicator; private isMoreContentExpanded; private votes; private footer; private header; constructor(props: ChatItemCardProps); private readonly getCardFooter; private readonly getCardHeader; private readonly getCardTitle; private readonly generateCard; private readonly setMaxHeightClass; private readonly getCardClasses; private readonly getFilePillsCustomRenderer; private readonly updateCardContent; private readonly getChatAvatar; private readonly canShowAvatar; private readonly shouldShowQuickSettings; private readonly showTooltip; readonly hideTooltip: () => void; readonly updateCard: () => void; readonly updateCardStack: (updateWith: Partial) => void; readonly clearContent: () => void; readonly getRenderDetails: () => CardRenderDetails; readonly endStream: () => void; readonly cleanFollowupsAndRemoveIfEmpty: () => boolean; }