import { Type } from '@nestjs/common'; import { FindOptionsOrder, FindOptionsWhere } from 'typeorm'; export type OperatorType = T extends [Type] ? [Type] : Type; export type CaliobaseFindOptions = { where: FindOptionsWhere; limit?: number; skip?: number; order?: FindOptionsOrder; select?: (keyof TEntity & string)[]; relations?: string[]; loadEagerRelations?: boolean; }; export type ToFindOptions = { listPublic?: boolean; toFindOptions: () => CaliobaseFindOptions; orderBy?: string[]; [key: string]: unknown; }; export type FindManyParams = { limit?: number; skip?: number; relations?: string[]; orderBy?: string[]; select?: (keyof TEntity & string)[]; }; export declare function createFindManyQueryParamClass(entityType: Type): Type>;