import { ConnectionPool } from "mssql"; import { MssqlTransaction } from "."; import { IHash } from "./interface/iHash"; import { IUpdateBy, IUpdateDate } from "./interface/iCreateBy"; export declare class Update { static update(conn: ConnectionPool, pars: { data: IHash; database?: string; chema?: string; table: string; onlyUpdateByPrimaryKey?: boolean; updateBy?: IUpdateBy; updateDate?: IUpdateDate; }, tran?: MssqlTransaction): Promise; static updateByWhere(conn: ConnectionPool, pars: { data: IHash; where?: {}; database?: string; chema?: string; table: string; updateBy?: IUpdateBy; updateDate?: IUpdateDate; }, tran?: MssqlTransaction): Promise; }