//#region src/shared/lazy-runtime.d.ts declare function createLazyRuntimeSurface(importer: () => Promise, select: (module: TModule) => TSurface): () => Promise; /** Cache the raw dynamically imported runtime module behind a stable loader. */ declare function createLazyRuntimeModule(importer: () => Promise): () => Promise; /** Cache a single named runtime export without repeating a custom selector closure per caller. */ declare function createLazyRuntimeNamedExport(importer: () => Promise, key: TKey): () => Promise; declare function createLazyRuntimeMethod(load: () => Promise, select: (surface: TSurface) => (...args: TArgs) => TResult): (...args: TArgs) => Promise>; declare function createLazyRuntimeMethodBinder(load: () => Promise): (select: (surface: TSurface) => (...args: TArgs) => TResult) => (...args: TArgs) => Promise>; //#endregion export { createLazyRuntimeMethod, createLazyRuntimeMethodBinder, createLazyRuntimeModule, createLazyRuntimeNamedExport, createLazyRuntimeSurface };