import { Connection } from "tedious"; import { ConnectionConfig, WindowsCredentials, NamedConnections } from "../types/index.js"; export declare class ConnectionManager { private connections; private defaultConnectionString; private windowsCredentials; private namedConnections; constructor(); private initializeFromEnvironment; private loadWindowsCredentials; private loadNamedConnections; parseConnectionString(connectionString: string, envCredentials?: WindowsCredentials): ConnectionConfig; getConnectionString(connectionName?: string, legacyConnectionName?: string): string; getConnection(connectionName?: string, legacyConnectionName?: string): Promise; getNamedConnections(): NamedConnections; getDefaultConnectionString(): string | undefined; closeAllConnections(): void; } export declare function executeQuery(connection: Connection, sql: string): Promise;