import type { NotAnErrorBox } from "@lazy-promise/core"; import { LazyPromise } from "@lazy-promise/core"; import type { ReactiveNode } from "alien-signals/system"; export declare const getActiveSub: () => ReactiveNode | undefined; export declare const setActiveSub: (sub?: ReactiveNode) => ReactiveNode | undefined; export declare const isSignal: (fn: () => void) => boolean; export declare const isComputed: (fn: () => void) => boolean; export declare const isEffect: (fn: () => void) => boolean; export declare const isEffectScope: (fn: () => void) => boolean; export declare function signal(): { (): T | undefined; (value: T | undefined): void; }; export declare function signal(initialValue: T): { (): T; (value: T): void; }; export declare const computed: (getter: (previousValue?: T) => T extends LazyPromise ? LazyPromise : T) => (() => T); export declare const effect: (fn: () => void | (() => void) | LazyPromise) => (() => void); export declare const effectScope: (fn: () => void) => (() => void); export declare const trigger: (fn: () => void) => void; export declare const unbox: (getter: () => LazyPromise) => (() => T | undefined);