import { DatasourceService } from '../../datasource.service';
import { QueryResult } from '../query-result';
import { QueryRunnerInterface } from '../query-runner.interface';
import { SqlServerConnectionDriver } from './sql-server-connection.driver';
export declare class SqlServerQueryRunner implements QueryRunnerInterface {
    driver: SqlServerConnectionDriver;
    readonly connection: DatasourceService;
    isReleased: boolean;
    isTransactionActive: boolean;
    constructor(driver: SqlServerConnectionDriver);
    /**
     * Creates/uses database connection from the connection pool to perform further operations.
     * Returns obtained database connection.
     */
    connect(): Promise<void>;
    /**
     * Executes a given SQL query.
     */
    query(query: string, parameters?: Array<unknown>): Promise<QueryResult>;
    release(): Promise<void>;
}
