import { INetworkModule } from "../network/INetworkModule"; import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata"; import { ImdsOptions } from "./ImdsOptions"; import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient"; import { Logger } from "../logger/Logger"; export declare class RegionDiscovery { protected networkInterface: INetworkModule; private logger; protected performanceClient: IPerformanceClient | undefined; protected correlationId: string | undefined; protected static IMDS_OPTIONS: ImdsOptions; constructor(networkInterface: INetworkModule, logger: Logger, performanceClient?: IPerformanceClient, correlationId?: string); /** * Detect the region from the application's environment. * * @returns Promise */ detectRegion(environmentRegion: string | undefined, regionDiscoveryMetadata: RegionDiscoveryMetadata): Promise; /** * Make the call to the IMDS endpoint * * @param imdsEndpointUrl * @returns Promise> */ private getRegionFromIMDS; /** * Get the most recent version of the IMDS endpoint available * * @returns Promise */ private getCurrentVersion; } //# sourceMappingURL=RegionDiscovery.d.ts.map