import { Connection } from 'mysql'; export declare type INotify = (response: any, progress: string) => boolean | void; export declare class MysqlConnection { protected _connection: Connection; constructor(_connection: Connection); generateTs(dir: string): Promise; createSchema(name: string): Promise<{}[]>; transaction(run: () => Promise): Promise; multiQuery(sql: string, insertsArray: any[], chunks?: number, notify?: INotify): Promise; logQuery(sql: string, inserts?: any): void; query(sql: string, inserts?: any): Promise; }