export declare class StepDefinition {
    expression: RegExp;
    step: Function;
    isAsync: boolean;
    type: StepType;
    constructor(expression: RegExp, step: Function, isAsync: boolean, type: StepType);
}
export declare class StepExecution {
    method: Function;
    isAsync: boolean;
    parameters: any[];
    constructor(method: Function, isAsync: boolean, parameters: any[]);
}
export declare enum StepType {
    Given = 1,
    When = 2,
    Then = 4,
}
export declare class StepCollection {
    private steps;
    private anyStepType;
    add(expression: RegExp, step: Function, isAsync?: boolean, type?: StepType): void;
    find(text: string, type: StepType): StepExecution | null;
    getParams(text: string, parameterExpression: RegExp, findExpression: RegExp): any[];
}
