import { L as LegacyActivityMiddleware, A as ActivityPolymiddleware } from './_dtsroll-chunks/qsx2_JN4-botframework-webchat-api-middleware.js';
export { d as ActivityPolymiddlewareHandler, e as ActivityPolymiddlewareHandlerResult, f as ActivityPolymiddlewareProps, g as ActivityPolymiddlewareProxy, h as ActivityPolymiddlewareProxyProps, i as ActivityPolymiddlewareRenderer, j as ActivityPolymiddlewareRequest, E as ErrorBoxPolymiddleware, k as ErrorBoxPolymiddlewareHandler, l as ErrorBoxPolymiddlewareHandlerResult, m as ErrorBoxPolymiddlewareProps, n as ErrorBoxPolymiddlewareProxy, o as ErrorBoxPolymiddlewareProxyProps, p as ErrorBoxPolymiddlewareRenderer, q as ErrorBoxPolymiddlewareRequest, P as Polymiddleware, _ as PolymiddlewareComposer, r as activityComponent, s as createActivityPolymiddleware, t as createErrorBoxPolymiddleware, u as errorBoxComponent, v as useBuildRenderActivityCallback, w as useBuildRenderErrorBoxCallback } from './_dtsroll-chunks/qsx2_JN4-botframework-webchat-api-middleware.js';
import 'botframework-webchat-core';
import 'react';
import 'valibot';
import 'react-chain-of-responsibility/preview';

/**
 * Polyfill legacy activity middleware into a polymiddleware.
 *
 * @deprecated Legacy activity middleware is being deprecated and will be removed on or after 2027-08-16.
 * @param middleware An array of legacy activity middleware.
 * @returns A polymiddleware composed by legacy activity middleware.
 */
declare function createActivityPolymiddlewareFromLegacy(...middleware: readonly LegacyActivityMiddleware[]): ActivityPolymiddleware;

export { ActivityPolymiddleware, createActivityPolymiddlewareFromLegacy };
