import { Component } from '../Component'; import { IOn } from '../index'; export interface IComponentExecutor { Emit: { (name: 'execute', event: E); }; On: any; Declared: 'execute'; } export declare class Action extends Component, Action> { Emit: { (name: 'execute', ...args: any[]); (name: 'execute.complete', result: any); }; On: (IOn<{ name: 'execute'; event: any; return: any; }> & IOn<{ name: 'execute.complete'; event: any; return: any; }>); Declared: 'execute.complete'; callback: (event: E) => R; constructor(callback: Action['callback']); private execute; }