import { DynamicModule, Provider } from '@nestjs/common'; import { Config } from './contract/config'; import { EventStoreCoreModule } from './cqrs-es-core.module'; import { EventStore } from './eventstore'; import { EventStoreModuleAsyncOptions } from './interfaces/options.interface'; import { Transformer } from './interfaces/transformer.type'; export declare class EventStoreModule { static forRoot(options: Config): DynamicModule; static forRootAsync(config: EventStoreModuleAsyncOptions): { module: typeof EventStoreModule; imports: { module: typeof EventStoreCoreModule; providers: (typeof EventStore | { provide: string; useFactory: (...args: any[]) => Config | Promise; inject: any[]; })[]; exports: (typeof EventStore)[]; }[]; }; static forFeature(aggregateRoots: Function[], transformers: Record): { module: typeof EventStoreModule; providers: Provider[]; }; private static createAggregateRepositoryProviders; }