interface WorkletLike { _execId?: number; } /** * Must be called when a worklet context is updated. Mirrors the upstream * ReactLynx behaviour: * 1. Register the new worklet with the JS-side lifecycle manager (so the * background thread can free it). * 2. On first screen with a previous ctx, hydrate the new ctx from the old. * 3. On first screen, flush any worklets that were delayed waiting for this * element (legacy dynamic-component compat path). */ export declare function onWorkletCtxUpdate(worklet: WorkletLike, oldWorklet: WorkletLike | null | undefined, isFirstScreen: boolean, element: unknown): void; export {};