import { Saga } from './saga';
import Factory from './factory';
export declare class SagaBuilder<T> {
    private currentStep;
    private steps;
    private factory;
    setFactory(factory: Factory<T>): void;
    step(name?: string): this;
    invoke(method: (params: T) => void): this;
    withCompensation(method: (params: T) => void): this;
    build(): Saga<T>;
}
