9 lines
388 B
TypeScript
9 lines
388 B
TypeScript
import { EventObject } from './types';
|
|
import { StateNode } from './index';
|
|
export interface ScxmlToMachineOptions {
|
|
evalCond: (expr: string, extState?: object) => // tslint:disable-next-line:ban-types
|
|
((extState: any, event: EventObject) => boolean) | Function;
|
|
delimiter?: string;
|
|
}
|
|
export declare function toMachine(xml: string, options: ScxmlToMachineOptions): StateNode;
|