import { Configuration } from "../configuration"; import { HandleCommand } from "../HandleCommand"; import { EventFired, HandleEvent } from "../HandleEvent"; import { HandlerContext } from "../HandlerContext"; import { HandlerResult } from "../HandlerResult"; import { CommandInvocation } from "../internal/invoker/Payload"; import { Automations } from "../internal/metadata/metadata"; import { CommandHandlerMetadata, EventHandlerMetadata } from "../metadata/automationMetadata"; import { Maker } from "../util/constructionUtils"; import { AbstractAutomationServer } from "./AbstractAutomationServer"; /** * Simple automation server that offers building style * configuration */ export declare class BuildableAutomationServer extends AbstractAutomationServer { opts: Configuration; private readonly graphClient; private readonly commandHandlers; private readonly eventHandlers; private readonly ingesters; private readonly secretResolver; private readonly metadataProcessor; constructor(opts: Configuration); registerCommandHandler(chm: Maker): this; fromCommandHandler

(hc: HandleCommand

): this; registerEventHandler(maker: Maker>): this; registerIngester(ingester: any): this; protected invokeCommandHandler(invocation: CommandInvocation, metadata: CommandHandlerMetadata, ctx: HandlerContext): Promise; protected invokeEventHandler(e: EventFired, metadata: EventHandlerMetadata, ctx: HandlerContext): Promise; /** * Populate handler parameters */ private invokeCommandHandlerWithFreshParametersInstance; private invokeFreshEventHandlerInstance; private enrichContext; private populateMappedParameters; private populateSecrets; get automations(): Automations; } //# sourceMappingURL=BuildableAutomationServer.d.ts.map