import { Selector, SelectorCallback } from './Selector'; import { Entity } from './base/Entity'; import { Atom } from './Atom'; import { Reaction } from './Reaction'; type Select = ReturnType>>; export declare class State extends Entity { static from(value: V): (() => V) & Atom; static select(id: string, selectorFn: Fn): Select; static select(selectorFn: Fn, b?: never): Select; static reaction(id: string, reactionCallback: () => void): Reaction; static reaction(reactionCallback: () => void, b?: never): Reaction; static waitFor(matchCallback: (resolve: (v: Result) => void, reject: (err: Error) => void) => void): Promise; } export {};