import { FlowNodeOptions } from '../../type';
import { default as Base } from '../base';

export interface ParallelBranch {
    label: string;
    nextNodeName?: string;
}
export type ParallelParams = ParallelBranch[];
export default class ParallelNode extends Base<ParallelParams> {
    static Type: string;
    constructor(option: FlowNodeOptions);
    static IsValidate(params?: ParallelParams, result?: any): Promise<boolean>;
    protected _execute(): Promise<void>;
    private executeSingleBranch;
}
