import { mySqlConnection } from "./mySqlConnection"; import { RepositoryModelBase } from "./RepositoryModelBase"; export declare abstract class RepositoryBase> { protected connection: mySqlConnection; readonly abstract tableName: string; constructor(connection: mySqlConnection); abstract get(obj: string | T): Promise; abstract create(obj: T): Promise; abstract update(obj: T): Promise; abstract delete(obj: T): Promise; exists(dbId: number): Promise; getOrCreate(obj: T): Promise; updateOrCreate(obj: T): Promise; }