export type LazyBundleRegistrar = (requestUrl: string) => void; /** * Installs Metro's `__loadBundleAsync` on a Worklet Runtime, so `import()` of a * lazy chunk fetches the chunk with the runtime's own `fetch` and evaluates it * on that runtime. This mirrors what `loadBundleFromServer` does on the RN * Runtime. * * Use only in dev builds in Bundle Mode. */ export declare function installLazyBundleLoader(): void; /** * Creates, on the RN Runtime, the function that a Worklet Runtime calls through * `scheduleOnRN` after it has loaded a lazy chunk. The function registers the * chunk with the HMR client of the RN Runtime, so edits to the modules of that * chunk are propagated to all runtimes. */ export declare function makeLazyBundleRegistrar(): LazyBundleRegistrar | undefined; /** Stores the registrar received from the RN Runtime on a Worklet Runtime. */ export declare function installLazyBundleRegistrar(registrar: LazyBundleRegistrar | undefined): void; //# sourceMappingURL=lazyBundles.native.d.ts.map