import { ChannelProvider } from "../core/ChannelProvider";
import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
import { Lookup } from "../../Collections";
/** Defines inputs for the RunWorkflow activity. */
export interface RunWorkflowInputs {
    /** The URL of the workflow to run. */
    url: string;
    /** The input arguments to the target workflow. */
    arguments?: Lookup<any>;
}
/** Defines outputs for the RunWorkflow activity. */
export interface RunWorkflowOutputs {
    /** The workflow's outputs. */
    result: Lookup<any>;
}
export declare class RunWorkflow implements IActivityHandler {
    static action: string;
    static suite: string;
    execute(inputs: RunWorkflowInputs, context: IActivityContext, channelProviderType: typeof ChannelProvider): Promise<RunWorkflowOutputs>;
    /**
     * Gets the authentication token, if any, for the supplied portal.
     * This is a separate method because GVH does not use the
     * IdentityManager to store credentials. The GVH host module
     * overrides this method and uses its own technique.
     * @param portalUrl
     */
    protected getAuthenticationToken(portalUrl: string): string;
    private isServerWorkflow;
    private runServerWorkflow;
    private delay;
    private checkResult;
    private checkJobStatus;
    private runClientWorkflow;
}
