import { Configuration } from "./configuration"; import { HandleCommand } from "./HandleCommand"; import { HandleEvent } from "./HandleEvent"; import { AutomationServer } from "./server/AutomationServer"; export declare const DefaultStagingAtomistServer = "https://automation-staging.atomist.services/registration"; export declare const DefaultStagingAtomistGraphQLServer = "https://automation-staging.atomist.services/graphql"; export declare class AutomationClient { private configuration; httpPort: number; private automations; private webSocketClient; private httpServer; constructor(configuration: Configuration); readonly automationServer: AutomationServer; withCommandHandler(command: () => HandleCommand): AutomationClient; withEventHandler(event: () => HandleEvent): AutomationClient; withIngestor(event: () => HandleEvent): AutomationClient; run(): Promise; private setupEventHandler(); private runWs(handler, options); private runHttp(handler); } export declare function automationClient(configuration: Configuration): AutomationClient;