import { QueryResult } from "pg"; import { toolCommandsInterface } from "../tool-commands/tool-commands-interface"; export interface ColumnData { [columnName: string]: any; } export declare class Model implements toolCommandsInterface { private readonly tableName; constructor(tableName: string); private runQuery; find(options: { select?: string[]; relations?: string[]; where?: Record; order?: Record; skip?: number; take?: number; }): Promise; findOne(options: { where?: Record; }): Promise; create(data: ColumnData, entityConstructor: any): Promise; private validateData; save(options: { where?: Record; data?: Record; }): Promise; delete(options: { where?: Record; }): Promise; } //# sourceMappingURL=Model.d.ts.map