import { IEntity } from '@antjs/ant-js/src/model/IEntity'; import * as Bluebird from 'bluebird'; import * as Knex from 'knex'; import { IAntSqlModel } from '../../../model/IAntSqlModel'; import { ISqlSecondaryEntityManager } from '../../../persistence/secondary/ISqlSecondaryEntityManager'; export declare class DBTestManager { createTable(dbConnection: Knex, name: string, primaryKeyColumn: { name: string; type: 'number' | 'string' | 'increments'; }, otherColumns?: { [key: string]: 'number' | 'string'; }): Promise; deleteAllTables(dbConnection: Knex): Promise; insert(dbConnection: Knex, table: string, entity: any): Promise; createDatabaseIfNotExists(knex: Knex, dbName: string): Bluebird; getSecondaryEntityManagerGenerator(knex: Knex): (model: IAntSqlModel, knex: Knex) => ISqlSecondaryEntityManager; listTables(knex: Knex): Bluebird; ping(knex: Knex): Bluebird; } //# sourceMappingURL=DBTestManager.d.ts.map