/** * Reactive signals with automatic dependency tracking. * * Uses index-based tracking: computed functions are assumed to access * their dependencies in the same order on each run. This enables O(1) * dependency checks without complex linked-list structures. */ export { Signal, signal, ReadonlySignal } from "./signal.js"; export { Computed, computed } from "./computed.js"; export { effect } from "./effect.js"; export { store } from "./store.js"; export { batch, scope, type Subscriber } from "./context.js"; /** Common interface for reactive values (Signal or Computed). */ export interface Reactive { readonly value: T; subscribe(fn: () => void): () => void; } /** Check if a value is a reactive signal or computed. @internal */ export declare const isSignal: (value: unknown) => value is Reactive; //# sourceMappingURL=index.d.ts.map