import { IKey } from "./IKey"; export interface IRepository { upsert(model: TModel, callback: Function): any; delete(model: TModel, callback: Function): any; deleteRange(primaryKey: string, callback: Function): any; get(key: IKey, callback: Function): any; getAll(callback: Function): any; getRange(primaryKey: string, callback: Function): any; }