import { EventEmitter } from 'events';
import { AppState, StateTransition, AppStateSnapshot } from './types';
export declare class StateMachine extends EventEmitter {
    private _state;
    get state(): AppState;
    get snapshot(): AppStateSnapshot;
    transition(t: StateTransition): AppState;
    private getInputFocus;
}
