import { ContentFragment, DynamicContentStore } from "../../../flex-ui-core/src"; import { Player as TwilioPlayer } from "@twilio/player"; import * as React from "react"; import { RouteComponentProps } from "react-router-dom"; import { FlexContextType } from "../../../core/ContextProvider"; import { Segment, SegmentList } from "../../../state/InsightsState.definitions"; import { InsightsPlayerMediaLink, InsightsPlayerMediaLinkType } from "../Player/Player.definitions"; export declare const displayName = "ConversationView"; export declare const Content: DynamicContentStore; export interface ConversationViewImplStateProps { segment?: Segment; segmentList?: SegmentList; agentId?: string; mediaLinks?: InsightsPlayerMediaLink[]; mediaLinkId?: string; mediaLinkType?: InsightsPlayerMediaLinkType; } export interface ConversationViewImplDispatchProps { updateSegmentId: (segmentId?: string) => void; } interface ViewProps { isViewActive?: boolean; route: RouteComponentProps; } export type ConversationViewImplOwnProps = ViewProps> & { context?: FlexContextType; children?: React.ReactElement; playerRef?: (instance: TwilioPlayer | null) => void; segmentId: string; }; export type ConversationViewImplProps = ConversationViewImplStateProps & ConversationViewImplDispatchProps & ConversationViewImplOwnProps; interface ConversationViewImplState { player: TwilioPlayer | null; seekToSecond?: number; isPlayerReady: boolean | undefined; } export declare class ConversationViewImpl extends React.PureComponent { state: ConversationViewImplState; static getDerivedStateFromProps(props: ConversationViewImplProps, _state: ConversationViewImplState): { seekToSecond: number; } | { seekToSecond?: undefined; }; componentDidMount(): void; componentDidUpdate(prevProps: ConversationViewImplProps, prevState: ConversationViewImplState): Promise; fetchChatTranscripts(): void; seekPlayer(): void; componentWillUnmount(): void; tryParseDashboardId(): string; handleSegmentSelect: (id: string) => void; handleSegmentMarkClick: (segmentId: string) => void; getDashboardsLink(): string; handleBackButton: (event: React.SyntheticEvent) => void | Promise; getSegmentListIds(): string[]; render(): JSX.Element; } export {};