import { IState, SMEvent } from "./types"; /** * This class implements event->states matching algorithm. * The purpose of it is to find all the states that can handle given event. * The event should be handled first by deeper states, as such processing guaranties that * all transitions will remain within the parent. * * This is a breadth-first search that walks all the active states and pushes them to the * stack, which is eventually returned to the caller. * * In the event of parallel state with children, * this algorithm will push nodes in order from deep to shallow. * * */ export declare class EventStateMatcher { private root; constructor(root: IState); getActiveStateStackForEvent(event: SMEvent): any[]; }