/* Dependencies */ import { ModuleMetadata, Type } from '@nestjs/common/interfaces'; /* Interfaces */ import { NestKnexOptions, } from './nest-knex-options.interface'; import { NestKnexOptionsFactory, } from './nest-knex-options-factory.interface'; export interface NestKnexAsyncOptions extends Pick { inject?: any[]; useExisting?: Type; useClass?: Type; useFactory?: ( ...args: any[] ) => Promise | NestKnexOptions; }