import { Command } from './command.interface'; import { Saga } from './saga'; import { TransactionRepository } from './repository.interface'; import { HandlerConfig } from './handler.interface'; import { CommandProcessor } from './processor.interface'; export declare class SagaBuilder { private processors; private repository?; handler(type: string, config: Omit, 'type'>): this; handler(config: HandlerConfig): this; processor(processor: CommandProcessor): this; withRepository(repository: TransactionRepository): this; build(): Saga; } export declare function createSaga(): SagaBuilder; //# sourceMappingURL=saga.builder.d.ts.map