import * as __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__ from "../../../block-provider/BlockProvider.mjs";
const useBlockCollection = ()=>{
    var _ctx_props, _ctx_props1;
    const ctx = (0, __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__.useBlockRequestContext)();
    const name = (null === (_ctx_props = ctx.props) || void 0 === _ctx_props ? void 0 : _ctx_props.collection) || (null === (_ctx_props1 = ctx.props) || void 0 === _ctx_props1 ? void 0 : _ctx_props1.resource);
    return {
        name
    };
};
export { useBlockCollection };
