import { _ as __assign } from '../../chunks/bundle-yl5d1NoZ.js';
import React__default from 'react';
import { G as GroupChannelHeaderView } from '../../chunks/bundle-C9akz570.js';
import { useChannelContext } from '../context.js';
import '../../ui/Icon.js';
import '../../chunks/bundle-MlG9piGf.js';
import '../../ui/ChannelAvatar.js';
import '../../chunks/bundle-CAEBoiEz.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-Dl_v8XoN.js';
import '../../chunks/bundle-B2BBbSEN.js';
import '../../chunks/bundle-DfS7BDcp.js';
import '../../chunks/bundle-viBng0Kh.js';
import '../../chunks/bundle-C1dqPUnT.js';
import '../../chunks/bundle-vmZ9LoYK.js';
import '@sendbird/chat/groupChannel';
import '../../utils/message/getOutgoingMessageState.js';
import '../../chunks/bundle-DgosLQK9.js';
import '../../chunks/bundle-DEuCwnTn.js';
import '../../chunks/bundle-fdEQfX2s.js';
import '../../chunks/bundle-CqLLOVG5.js';
import '../../chunks/bundle-DBhJIxHw.js';
import '../../chunks/bundle-Del33VzI.js';
import '../../chunks/bundle-BZGITC2g.js';
import '../../ui/Header.js';
import '../../ui/TextButton.js';
import '../../chunks/bundle-Bokm7tQ9.js';
import '../../ui/IconButton.js';
import '../../chunks/bundle-i_3w58Zd.js';
import '../../chunks/bundle-BUYU9H94.js';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';
import '@sendbird/uikit-tools';
import '../../chunks/bundle-B0s_McF0.js';
import '../../chunks/bundle-BEx1sWnS.js';
import '../../chunks/bundle-DFni3Lhf.js';
import '@sendbird/chat/message';
import '../../chunks/bundle-BSy5MmTl.js';
import '../../chunks/bundle-mGsud0ec.js';
import '../../chunks/bundle-BNjG_5V3.js';
import '../../chunks/bundle-CM73CDTO.js';
import '../../chunks/bundle-DGh2T5IL.js';
import '../../chunks/bundle-C-onA3TP.js';
import '../../chunks/bundle-BOykFtQ3.js';
import '../../chunks/bundle-DK3-aB7E.js';
import '../../chunks/bundle-CIQCAe1h.js';
import '../../chunks/bundle-YKDbjcG6.js';

/**
 * @deprecated This component is deprecated and will be removed in the next major update.
 * Please use the `GroupChannel` component from '@sendbird/uikit-react/GroupChannel' instead.
 * For more information, please refer to the migration guide:
 * https://docs.sendbird.com/docs/chat/uikit/v3/react/introduction/group-channel-migration-guide
 */
var ChannelHeader = function (_a) {
    var className = _a.className;
    var context = useChannelContext();
    return (React__default.createElement(GroupChannelHeaderView, __assign({}, context, { className: className, currentChannel: context.currentGroupChannel })));
};

export { ChannelHeader, ChannelHeader as default };
//# sourceMappingURL=ChannelHeader.js.map
