import { Signal } from "../core/index.js"; /** * A signal for tracking accesses to values that may not exist. */ export declare class ProbeSignal extends Signal { #private; /** * Create a new probe signal. * * @param onDisposable A function to call when it is guaranteed that this signal is no longer observed. * @param value The initial value. */ constructor(onDisposable: () => void, value: T); notify(): void; } /** * A map for tracking keyed accesses to values that may not exist. */ export declare class ProbeMap { #private; /** * Create a new probe map. * * @param get A function to get the current value for a key at any time. */ constructor(get: (key: K) => V); /** * Access the specified key. * * If accesses are tracked in this context, this will create and access a probe signal for the specified key. That probe signal is automatically removed when it is guaranteed that this key is no longer observed. */ access(key: K): void; /** * Update a key-value pair and notify potential observers. */ update(key: K, value: V): void; /** * Set the value of all existing probe signals in this map. */ fill(value: V): void; } //# sourceMappingURL=probes.d.ts.map