/* eslint-disable react/require-default-props */ /* eslint-disable react/no-unused-prop-types */ /* eslint-disable react/prefer-stateless-function */ /* eslint-disable max-classes-per-file */ /** * @author David */ import { Component } from 'react'; import { Props as ChatProps } from './wingbot-chat-ui'; import '../../../wingbot-chat/ocp'; export type MessagingEvent = ocp.MessagingEvent; export type Postback = ocp.Postback; export type Attachment = ocp.Attachment; export type TextMessage = ocp.TextMessage; export type GenericTemplate = ocp.GenericTemplate; export type InteractionEvent = ocp.InteractionEvent; export type ReadDelivery = ocp.ReadDelivery; export type DetectedEntity = ocp.DetectedEntity; export type DetectedIntent = ocp.DetectedIntent; export type MessagingMeta = ocp.MessagingMeta; export type Tracking = ocp.Tracking; export type Button = ocp.Button; export type PassThreadRequest = ocp.PassThreadRequest; export type SenderAction = ocp.SenderAction; export type SetContext = ocp.SetContext; export { Props } from './wingbot-chat-ui'; export const STATIC_SENDER_ID: string; export const STATIC_PAGE_ID: string; export class WingbotChat extends Component { } export type StandaloneMessageListProps = { messages: MessagingEvent[], pageId?: string, senderId?: string, className?: string, showTracking?: boolean, disableUserInput?: boolean }; export class StandaloneMessageList extends Component { } export function createDummyChatReduxStore( messages: MessagingEvent[], pageId?: string, senderId?: string, showTracking?: boolean, chatOpen?: boolean ): unknown;