import { FactoryProvider, Provider } from '@nestjs/common'; import { EntityClassOrSchema } from '@nestjs/typeorm/dist/interfaces/entity-class-or-schema.type'; import { ForFeatureConnection } from './interfaces'; /** * A provider registered under TypeORM's standard repository token — the exact * token `@InjectRepository(entity)` resolves — whose value delegates every * call to the repository of the *current* `EntityManager`: the transactional * one inside `@Transactional()`, the plain one outside. */ export declare function provideTransactionAwareRepository(entity: EntityClassOrSchema, connection?: ForFeatureConnection): Provider; /** * Build the providers + export tokens for a set of entities. Shared by * `NestjsTypeormModule.forFeature` and the testing module so both always wire * repositories identically. */ export declare function buildFeatureProviders(entities: EntityClassOrSchema[], connection?: ForFeatureConnection): { providers: Provider[]; exports: FactoryProvider['provide'][]; }; //# sourceMappingURL=repository.provider.d.ts.map