import { IStoreImpl, StoreEvent } from "./model"; import { IStoreOptions } from "./store-fsm"; export declare class Store implements IStoreImpl { private state; private readonly ref; private fsm; constructor(initialState: V, opts?: IStoreOptions); deref(): V; dispatch(f: StoreEvent): void; dispatchSync(f: StoreEvent): void; getSnapshot(): V; loadSnapshot(snapshot: V): void; toString(): string; private dispatchStateChanged; }