import { Launcher, LocationDefinition, LauncherOptions, Framework, Bundle } from '../api/index.js'; import { BundleLocator, ConfigLocator, BundleLoadSuccess } from '../api/internal.js'; import 'apprt-core/Types'; interface LauncherConstructorOptions { queryParams?: Record; locations?: LocationDefinition[]; systemBundleAlternativeName?: string; configLocation?: string; configFilePattern?: string; configOpts?: Record; skipBundles?: string[]; bundles?: string[]; startBundles?: string[]; defaultApp?: string; prefetchUsingPOST?: boolean; prefetchUsingCompressedParams?: boolean; preFetchBundles?: boolean; preFetchMain?: boolean; bundleLocator?: BundleLocator; configLocator?: ConfigLocator; writeError?: boolean; enableStatistics?: boolean; } interface BundleInfo extends BundleLoadSuccess { installedBundle?: Bundle; } interface PreFetchDef { locName: string; skip: boolean; url?: string; static: boolean; mids: MidInfo[]; skipMids: MidInfo[]; transitive: boolean; } interface MidInfo { bundle: string; version: string; file: string; } declare class LauncherImpl implements Launcher { private _query; private _locations; private _configLocation; private _configFilePattern; private _configOpts; private _skipBundles; private _bundles; private _startBundles; private _defaultApp; private _prefetchUsingPOST; private _prefetchUsingCompressedParams; private _preFetchBundles; private _preFetchMain; private _bundleLocator; private _configLocator; private _writeError; private _loaderInfo; private _statistics; private _systemBundleAlternativeName; constructor(opts?: LauncherConstructorOptions); launchAppFromParam(opts: LauncherOptions): Promise; launchApp(app?: LauncherOptions["defaultApp"], domId?: LauncherOptions["domId"]): Promise; launch(app?: LauncherOptions["defaultApp"], domId?: LauncherOptions["domId"]): Promise; private _resolveConfig; private _locateBundles; private _prefetchBundles; private _prefetch; _splitPrefetchBundles(preFetchesArr: PreFetchDef[], preFetchCompressedVersions: boolean, preFetchWithGzip: boolean, maxUrlLength: number, installedBundles: BundleInfo[]): Promise; private _installFramework; private _initializeFramework; private _startFramework; private _prefetchRemaining; private _preFetchSecond; private _installBundles; private _filterSuccessBundles; private _getBundlesToInstall; private _filterErrorBundles; private _filterToStartLevel; private _toBundleInfoLookup; private _addRequiredBundles; private _printLocationErrors; private _findSystemBundle; private _createAppLoadCtx; private _printError; private _log; private _queryParams; } export { LauncherImpl as default }; export type { LauncherConstructorOptions };