import * as __WEBPACK_EXTERNAL_MODULE__common_index_mjs__ from "../../common/index.mjs";
const useDialect = ()=>{
    const { data: { database } } = (0, __WEBPACK_EXTERNAL_MODULE__common_index_mjs__.useCurrentAppInfo)();
    const isDialect = (dialect)=>(null == database ? void 0 : database.dialect) === dialect;
    return {
        isDialect,
        dialect: null == database ? void 0 : database.dialect
    };
};
const useDialect_rslib_entry_ = useDialect;
export { useDialect_rslib_entry_ as default };
