import {Signal} from './_signal.js'; /** * A signal that stores a context value of type T. * * This signal extends the basic {@link Signal} class and adds features specific to context values. * * @template T - The type of the context value. */ export declare class GecutState extends Signal { /** * Creates a new ContextSignal instance. * * @param {string} name - The name of the signal. * @param {false | 'AnimationFrame' | 'IdleCallback' | number} [debounce=false] - The debounce configuration. */ constructor(name: string, debounce?: false | 'AnimationFrame' | 'IdleCallback' | number); /** * Gets the current value of the signal. * * @return {T | undefined} The current value of the signal, or undefined if it has not been set or has expired. */ get value(): T | undefined; /** * Sets a new value for the signal and notifies any subscribers. * * @param {T} value - The new value to set. */ set value(value: T); } //# sourceMappingURL=state.d.ts.map