import type { InjectionToken, Provider } from '@nestjs/common'; import type { Promisable } from 'type-fest'; import { NestDefinitionType } from './constants'; import type { NestModuleDefinition } from './nest-definition'; export declare class NestDefinitionIterator { private nestModuleDefinition; constructor(nestModuleDefinition: Promisable); /** * By default dont iterate by exports * @param type */ iterate(type?: NestDefinitionType): AsyncIterableIterator; find(predicate: (definition: NestModuleDefinition | Provider | Function) => boolean, type?: NestDefinitionType): Promise; }