import { ActivityMiddleware, ActivityStatusMiddleware, AttachmentMiddleware } from 'botframework-webchat-api';
export { concatMiddleware, localize } from 'botframework-webchat-api';
export { WebChatActivity } from 'botframework-webchat-core';
import * as React__default from 'react';
import React__default__default, { MutableRefObject, ComponentType, ChangeEvent, FocusEvent, KeyboardEvent, SyntheticEvent } from 'react';
import { E as EmptyObject } from './_dtsroll-chunks/BlpMO3PT-empty-object.js';
import { W as WaitUntilable } from './hook-o9AgRedV.js';
export { S as SendBoxFocusOptions, c as createStyleSet, h as hooks, u as useDictateAbortable, a as useFocus, b as useMakeThumbnail, d as useObserveScrollPosition, e as useObserveTranscriptFocus, f as useRegisterFocusSendBox, g as useRenderMarkdownAsHTML, i as useScrollDown, j as useScrollTo, k as useScrollToEnd, l as useScrollUp, m as useSendFiles, n as useSendMessage, o as useShouldReduceMotion, p as useStyleSet, q as useTransformHTMLContent, r as useTypingIndicatorVisible, s as useWebSpeechPonyfill } from './hook-o9AgRedV.js';
export { S as AccessKeySinkSurface, _ as AttachmentBar, a as AudioContent, b as Avatar, B as BasicConnectivityStatus, c as BasicSendBoxToolbar, d as BasicToaster, e as BasicTranscript, f as BasicWebChat, g as BasicWebChatProps, h as Bubble, i as Components, C as Composer, j as ComposerProps, k as DictationInterims, l as ErrorBox, m as FileContent, H as HTMLContentTransformEnhancer, n as HTMLContentTransformFunction, o as HTMLContentTransformMiddleware, p as HTMLContentTransformRequest, q as HTMLVideoContent, I as ImageContent, r as LocalizedString, R as ReactWebChat, s as ReactWebChatProps, t as SendButton, u as SendStatus, v as SpeakActivity, w as SuggestedActions, T as TextArea, x as TextContent, y as ThemeProvider, z as Timestamp, A as UploadButton, D as VideoContent, E as VimeoContent, F as YouTubeContent, R as default } from './component-Fyy8iCRE.js';
export { _ as BasicSendBox, a as MicrophoneButton, T as SendTextBox, u as useMicrophoneButtonClick, b as useMicrophoneButtonDisabled, c as useSendBoxSpeechInterimsVisible, d as useTextBoxSubmit, e as useTextBoxValue } from './TextBox-BEU2rUID.js';
export { D as DropZoneState, u as useFileDropZone } from './_dtsroll-chunks/DP9nda2m-botframework-webchat-react-hooks.js';
export { useActiveTyping, useActivities, useActivityKeys, useActivityKeysByRead, useAvatarForBot, useAvatarForUser, useBuildRenderActivityCallback, useByteFormatter, useCapabilities, useConnectivityStatus, useCreateActivityRenderer, useCreateActivityStatusRenderer, useCreateAttachmentForScreenReaderRenderer, useCreateAvatarRenderer, useCreateScrollToEndButtonRenderer, useDateFormatter, useDebouncedNotifications, useDictateInterims, useDictateState, useDirection, useDisabled, useDismissNotification, useEmitTypingIndicator, useGetActivitiesByKey, useGetActivityByKey, useGetHasAcknowledgedByActivityKey, useGetKeyByActivity, useGetKeyByActivityId, useGetSendTimeoutForActivity, useGrammars, useGroupActivities, useGroupActivitiesByName, useGroupTimestamp, useLanguage, useLastAcknowledgedActivityKey, useLastReadActivityKey, useLocalizer, useMarkActivityAsSpoken, useMarkActivityKeyAsRead, useMarkAllAsAcknowledged, useNotifications, usePerformCardAction, usePonyfill, usePostActivity, useReferenceGrammarID, useRelativeTimeFormatter, useRenderAttachment, useRenderToast, useRenderTypingIndicator, useSendBoxAttachments, useSendBoxValue, useSendEvent, useSendMessageBack, useSendPostBack, useSendStatusByActivityKey, useSendTimeoutForActivity, useSendTypingIndicator, useSetNotification, useShouldSpeakIncomingActivity, useStartDictate, useStartVoice, useStopDictate, useStopVoice, useStyleOptions, useSubmitSendBox, useSuggestedActions, useSuggestedActionsHooks, useTimeoutForSend, useTrackDimension, useTrackEvent, useTrackException, useTrackTiming, useUIState, useUserID, useUsername, useVoiceRecordingMuted, useVoiceSelector, useVoiceState } from 'botframework-webchat-api/hook.js';
import 'botframework-webchat-api/decorator.js';
import 'botframework-webchat-core/internal.js';
import 'prop-types';
import 'valibot';
import 'botframework-webchat-api/middleware.js';

declare function createCoreMiddleware$1(): AttachmentMiddleware[];

type FocusTranscriptInit = WaitUntilable<EmptyObject>;

type ContextType = {
    focusTranscriptCallbacksRef: MutableRefObject<((init?: FocusTranscriptInit | undefined) => Promise<void>)[]>;
    nonce: string | undefined;
    dictateAbortable: any;
    dispatchScrollPosition: any;
    dispatchTranscriptFocusByActivityKey: any;
    internalMarkdownItState: [any];
    internalRenderMarkdownInline: any;
    numTranscriptFocusObservers: any;
    observeScrollPosition: any;
    observeTranscriptFocus: any;
    renderMarkdown: any;
    scrollToCallbacksRef: any;
    scrollToEndCallbacksRef: any;
    setDictateAbortable: any;
    styleSet: any;
    suggestedActionsAccessKey: any;
    webSpeechPonyfill: any;
};
declare const context: React__default.Context<ContextType>;

/**
 * @deprecated Use `defaultActivityPolymiddleware` instead. The `createCoreActivityMiddleware` will be removed on or after 2028-03-16.
 */
declare function createCoreActivityMiddleware(): readonly ActivityMiddleware[];

declare function createCoreMiddleware(): ActivityStatusMiddleware[];

declare const testIds: {
    codeBlockCopyButton: string;
    copyButton: string;
    feedbackButton: string;
    feedbackSendBox: string;
    sendBoxAttachmentBar: string;
    sendBoxDropZone: string;
    sendBoxAttachmentBarItem: string;
    sendBoxAttachmentBarItemDeleteButton: string;
    sendBoxMicrophoneButton: string;
    sendBoxSpeechBox: string;
    sendBoxTextBox: string;
    suggestedActionButton: string;
    typingIndicator: string;
    viewCodeButton: string;
};

declare function getTabIndex(element: HTMLElement): number | null;

type InputTargetProps<H> = {
    onChange?: (event: ChangeEvent<H>) => void;
    onFocus?: (event: FocusEvent<H>) => void;
    onKeyDown?: (event: KeyboardEvent<H>) => void;
    onSelect?: (event: SyntheticEvent<H>) => void;
    value?: string;
};
type PropsOf<T> = T extends ComponentType<infer P> ? P : never;
declare function withEmoji<T extends ComponentType<P>, P extends InputTargetProps<H> = PropsOf<T>, H extends HTMLInputElement | HTMLTextAreaElement = P extends InputTargetProps<infer H> ? H : never>(componentType: T): React__default__default.ForwardRefExoticComponent<React__default__default.PropsWithoutRef<Readonly<Omit<P, "onChange" | "emojiMap"> & {
    emojiMap?: Map<string, string>;
    onChange?: (value: string | undefined) => void;
}>> & React__default__default.RefAttributes<H>>;

declare const buildInfoObject: {
    readonly buildTool?: string | undefined;
    readonly moduleFormat?: string | undefined;
    readonly version?: string | undefined;
};
declare const version: string;

export { context as Context, buildInfoObject as buildInfo, createCoreActivityMiddleware, createCoreMiddleware as createCoreActivityStatusMiddleware, createCoreMiddleware$1 as createCoreAttachmentMiddleware, getTabIndex, testIds, version, withEmoji };
