import { Activity } from 'botframework-directlinejs'; import * as React from 'react'; import { IDoCardAction } from './Chat'; import { FormatState, SizeState } from './Store'; export interface HistoryProps { activities: Activity[]; disabled: boolean; format: FormatState; hasActivityWithSuggestedActions: Activity; size: SizeState; setMeasurements: (carouselMargin: number) => void; onClickRetry: (activity: Activity) => void; onClickCardAction: () => void; isFromMe: (activity: Activity) => boolean; isSelected: (activity: Activity) => boolean; onClickActivity: (activity: Activity) => React.MouseEventHandler; onCardAction: () => void; doCardAction: IDoCardAction; } export declare class HistoryView extends React.Component { private scrollMe; private scrollContent; private scrollToBottom; private carouselActivity; private largeWidth; constructor(props: HistoryProps); componentWillUpdate(nextProps: HistoryProps): void; componentDidUpdate(): void; private autoscroll; private measurableCarousel; private doCardAction; render(): JSX.Element; } export declare const History: React.ComponentClass; export interface WrappedActivityProps { activity: Activity; showTimestamp: boolean; selected: boolean; fromMe: boolean; format: FormatState; onClickActivity: React.MouseEventHandler; onClickRetry: React.MouseEventHandler; } export declare class WrappedActivity extends React.Component { messageDiv: HTMLDivElement; constructor(props: WrappedActivityProps); render(): JSX.Element; }