import { BundleType, LazyLoaderServiceEvents, LazyLoaderServiceInterface } from '@internetarchive/lazy-loader-service'; import { Unsubscribe } from 'nanoevents'; export declare class MockLazyLoaderService implements LazyLoaderServiceInterface { private onloadFn; loadScriptSrc?: string; constructor(onloadFn?: () => unknown); on(event: E, callback: LazyLoaderServiceEvents[E]): Unsubscribe; loadBundle(bundle: { module?: string; nomodule?: string; }): Promise; loadScript(options: { src: string; bundleType?: BundleType; attributes?: Record; }): Promise; }