export declare function markReadBackNode(node: object): void; interface IViewMarker { markForCheck(): void; } export type ICallbackWrapper = (key: string, value: unknown) => unknown; /** * Is this prop write one the wrapper would touch at all? * * Exported so a CALLER can ask before building a wrapper it may never need — an element directive is * constructed per TAG, and a screen's tags overwhelmingly carry no `on*` function prop. Keeping the * question here rather than copying the two tests at the call site is what stops the predicate and * the wrapper drifting apart. */ export declare function isWrappableCallback(key: string, value: unknown): boolean; /** * Makes an app callback handed to the engine as a PROP re-enter Angular's update loop. * * An `(event)` binding is wrapped by Angular's own `wrapListenerIn_markDirtyAndPreventDefault` and * notifies on its own. A `[onPressMove]="fn"` prop is an `@Input` forwarded to the node, and the * ENGINE calls it on event dispatch — Angular is told NOTHING, so a plain field mutation inside it * dirties no view and the template reading it stays stale until something unrelated ticks — a pan * readout stuck at `dx 0 · dy 0` for a whole gesture, real numbers only on the next button press. * * `markForCheck()` is one of the two notification sources Angular sanctions for an event source * outside the framework (the other is writing a signal the template reads, which an ADAPTER cannot * choose on the app's behalf). It flags the INJECTING view and every ancestor with RefreshView — * the reach `detectChanges()` does not have — and notifies the scheduler. * * `flushViewFor` is the second, narrower half: three behaviors read the app's answer back inside * the SAME microtask turn, and `markForCheck` only SCHEDULES. It is a no-op on a node that * registered no flush. * * ONE wrapper per original handler, for the caller's lifetime. A fresh closure per push would make * the engine store a new listener every time and would defeat every downstream identity check. */ export declare function createCallbackWrapper(node: unknown): ICallbackWrapper; export declare function registerViewMarker(node: object, marker: IViewMarker): void; export declare function unregisterViewMarker(node: object): void; export declare function markViewFor(node: unknown): void; export declare function registerViewFlush(node: object, flush: () => void): void; export declare function unregisterViewFlush(node: object): void; export declare function flushViewFor(node: unknown): void; export {};