import * as Component from './Component'; import * as QueryAble from './QueryAble'; import * as StateAble from './StateAble'; import { Service } from './Service'; import { Event } from './Event'; import { State } from './State'; import { Typer } from 'cqes-type'; export declare type handler = (event: Event) => Promise; export interface props extends Component.props, QueryAble.props, StateAble.props { } export declare class Handlers extends Component.Component { service: Service; protected queryBuses: QueryAble.Buses; protected queryTypes: QueryAble.Types; protected query: (target: string, data: any, meta?: any) => QueryAble.EventEmitter; protected getQueryTyper: (context: string, view: string, method: string) => Typer; protected repositories: StateAble.Repositories; protected get: (type: { new (...a: Array): X; }, streamId: string) => Promise>; constructor(props: props); start(): Promise; stop(): Promise; }