import { IConnection } from "../../Connection/IConnection"; import { IQueryResult } from "../../Query/IQueryResult"; import { IEventHandler, IEventDispacher } from "../../Event/IEventHandler"; import { IsolationLevel } from "../../Common/Type"; import { IQuery } from "../../Query/IQuery"; interface IDriverParameter { type: string; value: any; } export declare class MssqlConnection implements IConnection { connectionOption: any; constructor(connectionOption: any); isolationLevel: IsolationLevel; private connection; private transactions; readonly database: string; protected isChangeIsolationLevel: boolean; readonly inTransaction: boolean; readonly isOpen: boolean; close(): Promise; reset(): Promise; open(): Promise; startTransaction(isolationLevel?: IsolationLevel): Promise; commitTransaction(): Promise; rollbackTransaction(): Promise; executeQuery(command: IQuery): Promise; setIsolationLevel(isolationLevel: IsolationLevel): Promise; errorEvent: IEventHandler; protected onError: IEventDispacher; protected resolveParameter(input: any): IDriverParameter; } export {};