import { a as createI18n, i as setI18nInstance } from "./i18n-DoP1NB7u.js";
import { t as setUiConfig } from "./uiConfig-D2_wawvr.js";
import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
import { setup as setup$1 } from "@incodetech/core";
//#region src/setup.ts
async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, devMode, i18n, uiConfig }) {
	if (uiConfig) setUiConfig(uiConfig);
	await setup$1({
		apiURL,
		token,
		customHeaders,
		timeout,
		wasm,
		ipLookup,
		devMode
	});
	setI18nInstance(createI18n(i18n));
}
//#endregion
export { DEFAULT_WASM_VERSION, createI18n, setI18nInstance, setUiConfig, setup };
