import type { FrameContext, WorkerUpdateFn, WorkerUpdateOptions } from '../types.js'; /** Internal transport behind a worker update: one `tick` sink + teardown. */ export interface WorkerUpdateBridge { tick(ctx: FrameContext): void; terminate(): void; } /** Test seam: `forceFallback` skips Worker construction (used by the smoke test). */ export interface WorkerBridgeInternals { forceFallback?: boolean; } /** * Wire a serialized handler to a dedicated worker (or the microtask fallback). * One bridge per registered update; `createFrameLoop` owns the lifecycle. */ export declare function createWorkerUpdateBridge(fn: WorkerUpdateFn, options?: WorkerUpdateOptions, internals?: WorkerBridgeInternals): WorkerUpdateBridge; //# sourceMappingURL=frame-loop-worker.d.ts.map