import { MongoDriverError } from '../error'; import type { ConnectionPool } from './connection_pool'; /** * An error indicating a connection pool is closed * @category Error */ export declare class PoolClosedError extends MongoDriverError { /** The address of the connection pool */ address: string; constructor(pool: ConnectionPool); get name(): string; } /** * An error thrown when a request to check out a connection times out * @category Error */ export declare class WaitQueueTimeoutError extends MongoDriverError { /** The address of the connection pool */ address: string; constructor(message: string, address: string); get name(): string; } //# sourceMappingURL=errors.d.ts.map