import { createContext as o, useContext as r } from "react";
const n = o(null), t = o(null);
function i() {
return r(n);
}
function u() {
const e = i();
if (!e) throw new Error("useKeycloak requires inside .");
return e;
}
function a() {
const e = r(t);
if (!e) throw new Error("useApi requires inside .");
return e;
}
export {
t as A,
n as K,
a,
u as b,
i as u
};