import * as db from 'dmdb'; import { BatchUpdateItem, ObjectType, OrignDataBaseClient } from '../DataBaseClient'; interface DM8PoolAttributes extends db.PoolAttributes { password: string; } export declare class DM8Client implements OrignDataBaseClient { pool: db.Pool; realConfig: DM8PoolAttributes; constructor(config: DM8PoolAttributes); printSql: boolean; disablePrintSql(): void; enablePrintSql(): void; getPool(): Promise; getConnection(): Promise; executeSql(sql: string, arrayValues?: any[]): Promise; batchUpdate(batchUpdates: BatchUpdateItem[]): Promise; private transToObject; find(entityClass: ObjectType | null, sql: string, arrayValues?: any[]): Promise; update(sql: string, arrayValues?: any[]): Promise; limitPageList(sql: string, orderBy: string, pageSize: number, currentPage: number): string; destory(): Promise; } export {};