import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { HandlerResult } from "@atomist/automation-client/lib/HandlerResult";
import { ParameterType } from "@atomist/automation-client/lib/SmartParameters";
import { CommandRegistration } from "../../api/registration/CommandRegistration";
/**
 *  Invoke any registered command programmatically in this SDM instance
 *
 *  @param command name of the CommandRegistration or actual CommandRegistration instance to run
 *  @param parameters parameters to be passed to the command
 *  @param ctx HandlerContext instance
 */
export declare function invokeCommand<T extends ParameterType>(command: string | CommandRegistration<T>, parameters: T, ctx: HandlerContext): Promise<HandlerResult>;
//# sourceMappingURL=invokeCommand.d.ts.map