import { EventObject, State, StateMachine, StateSchema, Interpreter, InterpreterOptions } from 'xstate'; import { FunctionalComponent } from '../../stencil.core'; export { State as MachineState }; export declare type Send = Interpreter['send']; export declare type Renderer = (current: State, send: Send, service: Interpreter) => Element[] | Element; export interface MachineOptions extends Partial { immediate?: boolean; } export declare type MachineProps = { machine: StateMachine; options?: MachineOptions; renderer?: Renderer; }; export declare const Machine: FunctionalComponent>; export declare type ServiceProps = { service: Interpreter; renderer?: Renderer; }; export declare const Service: FunctionalComponent>;