import { _ as __assign } from '../../chunks/bundle-B8Grfnrx.js';
import React__default from 'react';
import { G as GroupChannelHeaderView } from '../../chunks/bundle-DvsR4u7y.js';
import { useChannelContext } from '../context.js';
import '../../ui/Icon.js';
import '../../chunks/bundle-CDcu1I4f.js';
import '../../ui/ChannelAvatar.js';
import '../../chunks/bundle-DgFzcADJ.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-C_ngoQD_.js';
import '../../chunks/bundle-DS6Kt7YS.js';
import '../../chunks/bundle-DTYj03OD.js';
import '../../chunks/bundle-HspRRkmy.js';
import '../../chunks/bundle-Y2KBbxRr.js';
import '../../chunks/bundle-CgLhYjm5.js';
import '@sendbird/chat/groupChannel';
import '../../utils/message/getOutgoingMessageState.js';
import '../../chunks/bundle-BTxw_tIt.js';
import '../../chunks/bundle-De-3zaYV.js';
import '../../chunks/bundle-DYBTopZK.js';
import '../../chunks/bundle-Ob7Cw3V-.js';
import '../../chunks/bundle-yKqHFFfz.js';
import '../../chunks/bundle-l_QLKq1Y.js';
import '../../chunks/bundle-BYOddwmS.js';
import '../../ui/Header.js';
import '../../ui/TextButton.js';
import '../../chunks/bundle-DED6q4Ti.js';
import '../../ui/IconButton.js';
import '../../chunks/bundle-I25ah_Bv.js';
import '../../chunks/bundle-C4OmfIXk.js';
import '@sendbird/chat';
import '@sendbird/chat/openChannel';
import '../../chunks/bundle-BYqblmEM.js';
import '../../chunks/bundle-BciLDE6M.js';
import '../../chunks/bundle-D_tSqvX6.js';
import '@sendbird/chat/message';
import '../../chunks/bundle-C6Hk5xTT.js';
import '../../chunks/bundle-Dy1IZ181.js';
import '../../chunks/bundle-YbXrJewH.js';
import '../../chunks/bundle-Djq12iSf.js';
import '../../chunks/bundle-CTkGIdt8.js';
import '../../chunks/bundle-BqjbaVLO.js';
import '../../chunks/bundle--1cImOGd.js';
import '../../chunks/bundle-B5_aP8LE.js';
import '../../chunks/bundle-BCGcsRu2.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
