import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
import * as __WEBPACK_EXTERNAL_MODULE__DeclareVariable_mjs__ from "./DeclareVariable.mjs";
const useVariable = (variableName)=>{
    const { name, value, title, collection } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__DeclareVariable_mjs__.DeclareVariableContext) || {};
    if (name === variableName) return {
        value,
        title,
        collection
    };
    return {};
};
export { useVariable };
