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