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