import { HandlerResult } from "@atomist/automation-client"; import { Secret } from "@atomist/automation-client/lib/internal/invoker/Payload"; export interface EventHandlerInvocation { name: string; payload: object; secrets?: Secret[]; } /** * Function that can send an event to an automation client */ export declare type EventSender = (ehi: EventHandlerInvocation) => Promise;