import type { IModulesConfigurator } from '@equinor/fusion-framework-module'; import type { AppConfigurator } from './AppConfigurator'; /** * Registers the app module with a framework configurator. * * Call this during framework setup to enable application loading, manifest fetching, * configuration resolution, and per-user settings management. * * @param configurator - The framework modules configurator to register the app module with. * @param callback - Optional callback to customize the {@link AppConfigurator} before initialization * (e.g., override the HTTP client or set a custom asset URI). * * @example * ```ts * import { enableAppModule } from '@equinor/fusion-framework-module-app'; * * export const configure = async (configurator: FrameworkConfigurator) => { * enableAppModule(configurator, (builder) => { * builder.setAssetUri('/custom-proxy'); * }); * }; * ``` */ export declare const enableAppModule: (configurator: IModulesConfigurator, callback?: (builder: AppConfigurator) => void | Promise) => void;