import type { EventBus, Event, Meta } from '../events'; export declare type ConfigurableEvents = string | string[] | Event | Event[]; /** * Recursive handlebars compile and templating over an `any` JS variable * @param input to be compiled * @param context to resolve handlebars template * @returns */ export declare function compileObjectKeys(input: any, context?: Record): any; /** * Should send `events` to the `eventBus` after compiling the payload according with * an handlebars template and given context * @param eventBus bus to use for piping events * @param events configurable set of events, either their labels or an event template with compilable payload * @param context context to resolve handlebars references * @param meta additional optional meta to attach to each outgoing event * @returns */ export declare function parseEvents(eventBus: EventBus, events: ConfigurableEvents, context?: Record | any[], meta?: M): void;