UNPKG

769 BTypeScriptView Raw
1import BulkLoad from './bulk-load';
2import Connection, { type ConnectionAuthentication, type ConnectionConfiguration, type ConnectionOptions } from './connection';
3import Request from './request';
4import { ConnectionError, RequestError } from './errors';
5import { TYPES } from './data-type';
6import { ISOLATION_LEVEL } from './transaction';
7import { versions as TDS_VERSION } from './tds-versions';
8declare const library: {
9 name: string;
10};
11export declare function connect(config: ConnectionConfiguration, connectListener?: (err?: Error) => void): Connection;
12export { BulkLoad, Connection, Request, library, ConnectionError, RequestError, TYPES, ISOLATION_LEVEL, TDS_VERSION };
13export type { ConnectionAuthentication, ConnectionConfiguration, ConnectionOptions };