import { ApiUtils as C, Network as h } from "@accelbyte/sdk";
import { StaticConfigs$ as u } from "./accelbyte-widgets591.mjs";
function S(c, e) {
  const t = c.assembly(), o = e != null && e.namespace ? e == null ? void 0 : e.namespace : t.namespace, i = e != null && e.cache ? e == null ? void 0 : e.cache : t.cache, f = C.mergedConfigs(t.config, e);
  async function m(p) {
    const n = await new u(h.create(f), o, i).getStaticConfig_ByConfig(p);
    if (n.error)
      throw n.error;
    return n.response.data;
  }
  return {
    getStaticConfig_ByConfig: m
  };
}
export {
  S as StaticConfigsApi
};
