import { IVpcConnectorTunnelOptions } from '../database/types/connection.interface'; import { EnvType, IRequestExtension } from '../types'; export interface IVpcConnectorTunnelConnectHint { useVpcConnectorTunnel?: boolean; cloud?: string; } /** * Builds the `{ vpcConnectorTunnel: {...} }` adapter option used by adapters that accept a * custom stream/socket directly (e.g. the graph module's Neptune adapter). Database adapters * no longer use this — see databases.service.ts, which instead opens the tunnel centrally and * rewrites the connection string to point at a local proxy (works for drivers that cannot * accept a custom stream). */ export declare function buildVpcConnectorTunnelAdapterOptions(hint: IVpcConnectorTunnelConnectHint, connectionUrl: string, ctx: { environment: EnvType; auth: IRequestExtension; }): { vpcConnectorTunnel?: IVpcConnectorTunnelOptions; };