import { Function } from '@steelbreeze/types'; import { State, Region, Instance, Visitor } from '.'; declare class JSONNode { readonly name: String; constructor(element: Region | State); } declare class JSONState extends JSONNode { deferredEventPool: Array | undefined; readonly children: Array; constructor(state: State); } declare class JSONRegion extends JSONNode { readonly activeState: string | undefined; readonly children: Array; constructor(region: Region, activeState: string | undefined); } export declare class JSONSerializer implements Visitor { private readonly instance; private readonly deferedEventSerializer; root: JSONState | undefined; private stateMap; private regionMap; constructor(instance: Instance, deferedEventSerializer?: Function | undefined); visitPseudoState(): void; visitPseudoStateTail(): void; visitState(state: State): void; visitStateTail(): void; visitRegion(region: Region): void; visitRegionTail(): void; toString(): string; } export {};