import type { dh } from '@deephaven/jsapi-types'; import { type WorkerVariables } from '@deephaven/jsapi-utils'; /** * Subscribe to the live list of variables on the worker identified by * `descriptor`. Returns `null` while the worker connection is being resolved * or when no {@link WorkerVariablesContext} provider is mounted; returns the * cumulative list (with field-update deltas applied) once the first update * arrives. * * Subscriptions are ref-counted by worker key so multiple consumers targeting * the same worker share a single underlying `subscribeToFieldUpdates` call. */ export declare function useWorkerVariables(descriptor: Partial | Record | null | undefined): WorkerVariables | null; export default useWorkerVariables; //# sourceMappingURL=useWorkerVariables.d.ts.map