/** Cached async loader used by runtime boundaries that should import on first use. */ export type LazyPromiseLoader = { load(): Promise; clear(): void; }; /** Controls whether a failed first import stays cached or is retried later. */ export type LazyPromiseLoaderOptions = { cacheRejections?: boolean; }; /** Creates a single-flight promise cache around a lazy import or other async loader. */ export declare function createLazyImportLoader(load: () => Promise, options?: LazyPromiseLoaderOptions): LazyPromiseLoader;