import { Sequelize } from 'sequelize-typescript'; import { DBConfig } from '../interface'; import { QueryInterface } from 'sequelize'; /** * sequelize mysql db client * DB.initDB(DBConfig) * DB.sequelize.close() */ export declare class DBClient { sequelize: Sequelize; queryInterface: QueryInterface; constructor(config: DBConfig); /** * 关闭 */ close(): Promise; }