UNPKG

nexorm

Version:

A powerful TypeScript ORM with advanced features.

6 lines (5 loc) 406 B
import { Model, ModelStatic } from "sequelize"; import { SearchMethodsOptions } from "../decorator"; import CacheManager from "../util/cacheManager"; import { readConfig } from "../fileInspector"; export declare function searchOne(model: ModelStatic<Model<any, any>>, filter?: any, options?: SearchMethodsOptions<any>, cacheManager?: CacheManager, config?: ReturnType<typeof readConfig>[0]): Promise<any>;