export declare class Signal

{ value: P; subscribers: Set<(newValue: P, oldValue: P) => void>; constructor(initialValue?: P); get(): P; set(newValue: any): void; mutSet(newValue: any): void; subscribe(callback: any): () => void; unsubscribe(callback: any): void; notifySubscribers(newValue: any, oldValue: any): void; } export declare class Computed

extends Signal

{ computeFn: () => P; dependencies: Set>; constructor(computeFn: any); compute(val?: boolean): void; update: () => void; } export declare function effect(fn: any): () => void; export declare function state

(value: P): Signal

; export declare function stateArray

(value: P[]): Signal[]>; export declare function computed

(cb: () => P): Computed

; //# sourceMappingURL=signals.d.ts.map