export declare class Constants { static readonly magicCodeBroadcastChannel = "MagicCodeChannel"; static readonly magicCodeResponseBroadcastChannel = "MagicCodeResponseChannel"; static readonly systemMessageTag = "system"; static readonly userMessageTag = "user"; static readonly channelMessageTag = "channel"; static readonly historyMessageTag = "history"; static readonly agentEndConversationMessageTag = "agentendconversation"; static readonly supervisorForceCloseMessageTag = "supervisorforceclosedconversation"; static readonly endConversationalSurveyMessageTag = "endconversationalsurvey"; static readonly startConversationalSurveyMessageTag = "startconversationalsurvey"; static readonly c2ConversationalSurveyMessageTag = "c2conversationalsurvey"; static readonly receivedMessageClassName = "ms_lcw_webchat_received_message"; static readonly sentMessageClassName = "ms_lcw_webchat_sent_message"; static readonly webchatChannelId = "webchat"; static readonly markdown = "markdown"; static readonly actionType = "actionType"; static readonly markDownSystemMessageClass = "webchat__basic-transcript__activity-markdown-body"; static readonly MARKDOWN_LIST_INDENTATION = " "; static readonly String = "string"; static readonly ChatMessagesJson = "chatMessagesJson"; static readonly truePascal = "True"; static readonly true = "true"; static readonly false = "false"; static readonly maximumUnreadMessageCount = 99; static readonly userParticipantTypeTag = "User"; static readonly botParticipantTypeTag = "Bot"; static readonly channelIdKey = "ChannelId-"; static readonly ChannelId = "lcw"; static readonly CustomerTag = "FromCustomer"; static persistentChatHistoryMessageTag: string; static persistentChatHistoryMessagePullTriggerTag: string; static conversationDividerTag: string; static readonly GifContentType = "image/gif"; static readonly video = "video"; static readonly audio = "audio"; static readonly controlsList = "controlsList"; static readonly nodownload = "nodownload"; static readonly activity = "activity"; static readonly payload = "payload"; static readonly text = "text"; static readonly blank = "_blank"; static readonly visitorIdPrefix = "8:"; static readonly left = "left"; static readonly queuePositionMessageTag = "queueposition"; static readonly averageWaitTimeMessageTag = "averagewaittime"; static readonly message = "message"; static readonly hiddenTag = "Hidden"; static readonly typing = "typing"; static readonly prefixTimestampTag = "ServerMessageTimestamp_"; static readonly acsChannel = "ACS_CHANNEL"; static readonly publicMessageTag = "public"; static readonly supportedAdaptiveCardContentTypes: Array; static readonly adaptiveCardContentTypePrefix = "application/vnd.microsoft.card"; static readonly maxUploadFileSize = "500000"; static readonly imageRegex: RegExp; static readonly audioMediaRegex: RegExp; static readonly videoMediaRegex: RegExp; static readonly chromeSupportedInlineMediaRegex: RegExp; static readonly firefoxSupportedInlineMediaRegex: RegExp; static readonly AdaptiveCardType = "adaptivecard"; static readonly SuggestedActionsType = "suggestedactions"; static readonly CallAdded = "callAdded"; static readonly LocalVideoStreamAdded = "localVideoStreamAdded"; static readonly LocalVideoStreamRemoved = "localVideoStreamRemoved"; static readonly RemoteVideoStreamAdded = "remoteVideoStreamAdded"; static readonly RemoteVideoStreamRemoved = "remoteVideoStreamRemoved"; static readonly CallDisconnected = "callDisconnected"; static readonly IncomingCallEnded = "incomingCallEnded"; static readonly VoiceVideoInitialize = "voiceVideoInitialize"; static readonly VoiceVideoInitializeException = "voiceVideoInitializeOnException"; static readonly VoiceVideoLoading = "voiceVideoLoading"; static readonly VoiceVideoNotLoaded = "voiceVideoNotLoaded"; static readonly VoiceVideoLoadingException = "voiceVideoLoadingOnException"; static readonly VoiceVideoAcceptCallException = "voiceVideoAcceptCallOnException"; static readonly VoiceVideoAcceptCallWithVideoException = "voiceVideoAcceptCallWithVideoException"; static readonly defaultDownloadTranscriptError = "Download transcript failed."; static readonly ProactiveChatInviteTimeoutInMs = 60000; static readonly InputSubmit = "InputSubmit"; static readonly ReconnectIdAttributeName = "oc.reconnectid"; static readonly LiveChatWidget = "LiveChatWidgetNew"; static readonly GuidPattern = "xx-x-4m-ym-xxx"; static readonly Default = "default"; static readonly Zero = "zero"; static readonly Title = "title"; static readonly Target = "target"; static readonly Blank = "_blank"; static readonly TargetSelf = "_self"; static readonly TargetTop = "_top"; static readonly TargetRelationship = "rel"; static readonly TargetRelationshipAttributes = "noopener noreferrer"; static readonly OpenLinkIconCssClass = "webchat__render-markdown__external-link-icon"; static readonly internetConnectionTestPath = "/livechatwidget/version.txt"; static readonly ChatWidgetStateChangedPrefix = "ChatWidgetStateChanged"; static readonly PostChatLoadingDurationInMs = 2000; static readonly BrowserUnloadConfirmationMessage = "Do you want to leave chat?"; static readonly CacheTtlInMinutes = 15; static readonly SessionCacheSuffix = "session"; static readonly PopoutCacheSuffix = "popout"; static readonly LWICheckOnVisibilityTimeout: number; static readonly InitContextParamsRequest = "initContextParamsRequest"; static readonly InitContextParamsResponse = "initContextParamsResponse"; static readonly OCOriginalMessageId = "OriginalMessageId"; static readonly WebchatSequenceIdAttribute = "webchat:sequence-id"; static readonly MessageSequenceIdOverride = "MessageSequenceIdOverride"; static readonly sendCustomEvent = "sendCustomEvent"; static readonly onCustomEvent = "onCustomEvent"; static readonly customEventName = "customEventName"; static readonly customEventValue = "customEventValue"; static readonly Hidden = "Hidden"; static readonly EndConversationDueToOverflow = "endconversationduetooverflow"; static readonly SkipSessionCloseForPersistentChatFlag = "skipSessionCloseForPersistentChat"; static readonly minInputFontSizePx = 16; static readonly minInputFontSize = "16px"; } export declare const Regex: { new (): {}; readonly EmailRegex: "^(?:[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\")@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?)*|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\])$"; }; export declare class HtmlIdNames { static readonly MSLiveChatWidget = "MSLiveChatWidget"; } export declare class HtmlClassNames { static readonly webChatBannerCloseButton = "webchat__toast__dismissButton"; static readonly webChatBannerExpandButton = "webchat__toaster__expandIcon"; static readonly webChatHistoryContainer = "webchat__basic-transcript"; } export declare class HtmlElementSelectors { static readonly sendBoxSelector = "textarea[data-id=\"webchat-sendbox-input\"]"; } export declare class HtmlAttributeNames { static readonly role = "role"; static readonly navigation = "navigation"; static readonly ariaLabel = "aria-label"; static readonly ariaLive = "aria-live"; static readonly ariaDisabled = "aria-disabled"; static readonly form = "form"; static readonly ariaLabelledby = "aria-labelledby"; static readonly tabindex = "tabindex"; static readonly ariaRequired = "aria-required"; static readonly ariaDesribedby = "aria-describedby"; static readonly ariaHidden = "aria-hidden"; static readonly disabled = "disabled"; static readonly hidden = "hidden"; static readonly download = "download"; static readonly href = "href"; static readonly region = "region"; static readonly button = "button"; static readonly input = "Input"; static readonly style = "style"; static readonly head = "head"; static readonly type = "type"; static readonly csstext = "text/css"; static readonly listItem = "LI"; static readonly unorderedList = "UL"; static readonly div = "div"; static readonly aTagName = "a"; static readonly pTagName = "p"; static readonly noopenerTag = "noopener"; static readonly noreferrerTag = "noreferrer"; static readonly adaptiveCardClassName = "ac-adaptiveCard"; static readonly adaptiveCardTextBlockClassName = "ac-textBlock"; static readonly adaptiveCardToggleInputClassName = "ac-toggleInput"; static readonly adaptiveCardActionSetClassName = "ac-actionSet"; static readonly ocwCitationPaneClassName = "ocw-citation-pane"; static readonly ocwCitationPaneTitle = "Citation"; } export declare class WebChatMiddlewareConstants { static readonly nextVisibleActivity = "nextVisibleActivity"; static readonly timeBetweenTimestampGroups = 300000; static readonly maxTextLength = 6000; static readonly adaptiveCard = "AdaptiveCard"; } export declare class AMSConstants { static readonly supportedImagesMimeTypes: string[]; static readonly maxSupportedImageSize = 20; static readonly maxSupportedFileSize = 300; } export declare class MimeTypes { static readonly UnknownFileType = "application/octet-stream"; } export declare class LocaleConstants { static readonly RTL_LOCALES: string[]; } export declare enum ElementType { CallingContainerSDK = "CallingContainerSDK" } export declare enum EnvironmentVersion { prod = "prod", dogfood = "df", int = "int", test = "test" } export declare enum E2VVOptions { NoCalling = "192350000", VideoAndVoiceCalling = "192350001", VoiceOnly = "192350002" } export declare enum ConversationMode { Regular = "192350000", Persistent = "192350001" } export declare enum SurveyProvider { MicrosoftCopilotStudio = "600990001" } export declare enum LiveWorkItemState { Active = "Active", Closed = "Closed", Open = "Open", Waiting = "Waiting", WrapUp = "WrapUp" } export declare enum StorageType { "localStorage" = 0, "sessionStorage" = 1 } export declare enum ParticipantType { User = "User", Bot = "Bot" } export declare enum ConversationEndEntity { Customer = "Customer", Agent = "Agent",// Currently covers both for human agent and bot Bot = "Bot", NotSet = "NotSet" } export declare enum ConfirmationState { Ok = "Ok", Cancel = "Cancel", NotSet = "NotSet" } export declare class TranscriptConstants { static readonly ChatTranscriptsBodyColor = "#F5F5F5"; static readonly TranscriptMessageEmojiMessageType = "http://schema.skype.com/emoji"; static readonly ChatTranscriptDownloadFile = "ChatTranscripts.html"; static readonly DefaultFileAttachmentName = "Untitled.txt"; static readonly CustomerDialogColor = "#E8E8E8"; static readonly CustomerFontColor = "black"; static readonly AdaptiveCardType = "adaptivecard"; static readonly InternalMode = "internal"; static readonly AgentDialogColor = "#2266E3"; static readonly AgentFontColor = "white"; } export declare class NotificationPaneConstants { static readonly DefaultNotificationPaneId = "lcw-notification-pane"; static readonly DismissId = "lcw-notification-pane-dismiss-button"; static readonly DismissText = "Dismiss"; static readonly DismissAriaLabel = "Notification dismiss"; static readonly CloseChatId = "lcw-notification-pane-close-chat-button"; static readonly CloseChatText = "Close Chat"; static readonly CloseChatAriaLabel = "Close chat"; static readonly IconId = "lcw-notification-pane-icon"; static readonly IconText = "Notification Icon"; static readonly ChatDisconnectTitleText = "Chat disconnected"; static readonly ChatDisconnectSubtitleText = "For additional assistance, please close the chat and try again."; static readonly ChromeCloseIconName = "ChromeClose"; } export declare class StartChatErrorPaneConstants { static readonly DefaultStartChatErrorPaneId = "oc-lcw-start-chat-error-pane"; static readonly DefaultStartChatErrorTitleText = "We are unable to load chat at this time."; static readonly DefaultStartChatErrorSubtitleText = "Please try again later."; static readonly DefaultStartChatErrorUnauthorizedTitleText = "Chat authentication has failed."; static readonly DefaultStartChatErrorAuthSetupErrorTitleText = "Chat authentication has failed."; static readonly DefaultStartChatErrorUnauthorizedSubtitleText = "UNAUTHORIZED"; static readonly DefaultStartChatErrorAuthSetupErrorSubtitleText = "AUTH SETUP ERROR"; } export declare class AriaTelemetryConstants { static readonly GERMANY_ENDPOINT: string; static readonly GCCH_ENDPOINT: string; static readonly DOD_ENDPOINT: string; static readonly EUROPE_ENDPOINT: string; static readonly MOONCAKE_ENDPOINT: string; static readonly Public: string; static readonly EU: string; static readonly lcwEUDomainNames: Array; } export declare class WidgetLoadTelemetryMessage { static readonly OOOHMessage = "Widget is OOOH"; static readonly PersistedStateRetrievedMessage = "Persisted state retrieved"; } export declare class WidgetLoadCustomErrorString { static readonly AuthenticationFailedErrorString = "Authentication was not successful"; static readonly NetworkErrorString = "Network Error"; static readonly CloseAdapterAfterDisconnectionErrorString = "Error trying to end/close chat adapter after the widget is back on-line, for an already disconnected session"; } export declare class PrepareEndChatDescriptionConstants { static readonly ConversationEndedByCustomerWithoutPostChat = "Conversation ended by customer. Post chat not configured or should not show."; static readonly ConversationEndedByCustomerWithInvalidPostChat = "Conversation ended by customer. Post chat context is invalid."; static readonly ConversationEndedBy = "Conversation ended by"; static readonly PrepareEndChatError = "There's an error while preparing to end chat. Closing chat widget."; static readonly WidgetLoadFailedAfterSessionInit = "SessionInit was successful, but widget load failed. Ending chat to avoid ghost chats in OC."; static readonly InitiateEndChatReceived = "Received InitiateEndChat BroadcastEvent while conversation state is not Active. Ending chat."; static readonly InitiateEndChatReceivedActiveChat = "Received InitiateEndChat BroadcastEvent while conversation state is Active. Updating conversation states."; static readonly EndChatReceivedFromOtherTabs = "Received EndChat BroadcastEvent from other tabs. Closing this chat."; static readonly CustomerCloseChatOnFailureOrPostChat = "Customer is trying to close chat widget on start chat failure or post chat pane."; static readonly CustomerCloseInactiveChat = "Chat was Inactive and customer is trying to close chat widget or refreshing the page."; static readonly BrowserUnload = "Browser unload event received. Ending chat."; } export declare class PostChatSurveyTelemetryMessage { static readonly PostChatContextCallFailed = "Failed to get post chat context."; static readonly PostChatContextCallSucceed = "Postchat context call succeed."; static readonly PostChatContextCallStarted = "Postchat context call started."; } export declare class AppInsightsTelemetryMessage { static readonly AppInsightsInitialized = "Application Insights initialized successfully."; static readonly AppInsightsInitError = "Error initializing Application Insights"; static readonly AppInsightsKeyError = "Invalid Application Insights key provided."; }