import { ModuleMetadata, Type } from '@nestjs/common/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; }