import { IStateliContext } from './i-stateli-context'; import { IStateliStore } from './i-stateli-store'; export declare class StateliSnapshotContext implements IStateliContext { private getState; private store; private _rootStateSnapshot; private _stateSnapshot; constructor(getState: (store: IStateliStore) => State, store: IStateliStore); get rootState(): RootState; get state(): State; get snapshots(): { rootState: RootState; state: State; }; getter(type: string): Result; commit(type: string, payload: Payload): void; dispatch(type: string, payload: Payload): Promise; }