@intlayer/config
Version:
Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.
27 lines (26 loc) • 1.57 kB
TypeScript
import * as _$_intlayer_types_config0 from "@intlayer/types/config";
import { IntlayerConfig } from "@intlayer/types/config";
import * as _$_intlayer_types_plugin0 from "@intlayer/types/plugin";
//#region src/built.browser.d.ts
/**
* Proxy that reads each top-level key from `window.INTLAYER_CONFIG` lazily.
* This avoids the module-evaluation timing issue: the proxy is safe to import
* at the top of any file because the actual `window.INTLAYER_CONFIG` value is
* only read when a property is first accessed.
*/
declare const configuration: IntlayerConfig;
declare const internationalization: _$_intlayer_types_config0.InternationalizationConfig;
declare const dictionary: Partial<_$_intlayer_types_config0.DictionaryConfig>;
declare const routing: _$_intlayer_types_config0.RoutingConfig;
declare const content: _$_intlayer_types_config0.ContentConfig;
declare const system: _$_intlayer_types_config0.SystemConfig;
declare const editor: _$_intlayer_types_config0.EditorConfig;
declare const log: _$_intlayer_types_config0.LogConfig;
declare const ai: Partial<_$_intlayer_types_config0.AiConfig>;
declare const build: _$_intlayer_types_config0.BuildConfig;
declare const compiler: _$_intlayer_types_config0.CompilerConfig;
declare const schemas: Record<string, _$_intlayer_types_config0.ConfigSchema>;
declare const plugins: _$_intlayer_types_plugin0.Plugin[];
//#endregion
export { ai, build, compiler, content, configuration as default, dictionary, editor, internationalization, log, plugins, routing, schemas, system };
//# sourceMappingURL=built.browser.d.ts.map