import { Element } from './api/element.js'; import type { WorkletRef, WorkletRefId, WorkletRefImpl } from './bindings/types.js'; interface RefImpl { _workletRefMap: Record>; _firstScreenWorkletRefMap: Record>; updateWorkletRef(refImpl: WorkletRefImpl, element: ElementNode | null): void; updateWorkletRefInitValueChanges(patch: [number, unknown][]): void; clearFirstScreenWorkletRefMap(): void; } declare function initWorkletRef(): RefImpl; declare const createWorkletRef: (id: WorkletRefId, value: T) => WorkletRef; declare const getFromWorkletRefMap: (refImpl: WorkletRefImpl) => WorkletRef; declare function removeValueFromWorkletRefMap(id: WorkletRefId): void; declare function updateWorkletRefInitValueChanges(patch: [WorkletRefId, unknown][]): void; export { type RefImpl, createWorkletRef, initWorkletRef, getFromWorkletRefMap, removeValueFromWorkletRefMap, updateWorkletRefInitValueChanges, };