import { _ as __assign } from '../../chunks/bundle-B8Grfnrx.js';
import React__default from 'react';
import { F as FileViewerView } from '../../chunks/bundle-BGj68IUE.js';
import { useChannelContext } from '../context.js';
import 'react-dom';
import '../../chunks/bundle-DgFzcADJ.js';
import '../../ui/ImageRenderer.js';
import '../../chunks/bundle-CDcu1I4f.js';
import '../../chunks/bundle-C_ngoQD_.js';
import '../../ui/Icon.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 '../../hooks/useModal.js';
import '../../chunks/bundle-LnGQMQVt.js';
import '../../chunks/bundle-l_QLKq1Y.js';
import '../../chunks/bundle-BYOddwmS.js';
import '../../chunks/bundle-yKqHFFfz.js';
import '../../ui/IconButton.js';
import '../../ui/Button.js';
import '../../chunks/bundle-CTkGIdt8.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-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 FileViewer = function (props) {
    var deleteMessage = useChannelContext().deleteMessage;
    return React__default.createElement(FileViewerView, __assign({}, props, { deleteMessage: deleteMessage }));
};

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