///
import { Writable } from "stream";
import { IColumnDefinition } from "./ColumnHelper";
import { SqlConnection, IConnectionConfig } from "./Connection";
export default class TableInserter extends Writable {
private readonly dbName;
private readonly tableName;
private readonly columnDefs;
private readonly conn;
private hasIdentity;
private buffer;
private _connection;
private columns;
constructor(dbName: string, tableName: string, columnDefs: IColumnDefinition[], conn: IConnectionConfig | SqlConnection, hasIdentity: boolean);
readonly bufferLength: number;
private connection;
_write(chunk: any, encoding: string, callback: (err?: Error) => void): Promise;
_final(callback: Function): Promise;
private readonly formattedStatement;
private execInsert;
}
//# sourceMappingURL=TableInserter.d.ts.map