import { Pool, PoolOptions } from 'mysql2/promise'; import { DatabaseDesignArray, DriversClassType } from '../Types'; export declare class MySQLDriver implements DriversClassType { readonly options: PoolOptions; readonly pool: Pool; constructor(options: PoolOptions); init(table: string): Promise; createTable(table: string): Promise; tables(): Promise; insert(table: string, value: DatabaseDesignArray): Promise; setRowByKey(table: string, key: string, value: any): Promise; getAllRows(table: string): Promise<[any, boolean]>; getRowByKey(table: string, key: string): Promise; deleteRowByKey(table: string, key: string): Promise; deleteAllRows(table: string): Promise; close(): Promise; }