import { ComponentInterface } from '../../stencil.core'; import { StateMachine, Interpreter, EventObject } from 'xstate'; import { MachineOptions, Renderer, MachineState } from '../xstate'; export declare class XStateMachine implements ComponentInterface { /** * An XState machine */ machine: StateMachine; /** * Current XState machine service */ service: Interpreter; /** * Interpreter options that you can pass in */ options?: MachineOptions; /** * Render callback */ renderer: Renderer; /** * Current machine state */ current: MachineState; componentWillLoad(): void; componentDidLoad(): void; componentDidUnload(): void; render(): any[]; }