import * as __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__ from "../../../../../block-provider/BlockProvider.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__details_single_hooks_useDetailsDecoratorProps_mjs__ from "../../details-single/hooks/useDetailsDecoratorProps.mjs";
function useEditFormBlockDecoratorProps(props) {
    const params = useFormBlockParams();
    let parentRecord;
    if (props.association) parentRecord = (0, __WEBPACK_EXTERNAL_MODULE__details_single_hooks_useDetailsDecoratorProps_mjs__.useDetailsParentRecord)(props.association);
    return {
        params,
        parentRecord
    };
}
function useFormBlockParams() {
    return (0, __WEBPACK_EXTERNAL_MODULE__block_provider_BlockProvider_mjs__.useParamsFromRecord)();
}
export { useEditFormBlockDecoratorProps };
