/** * Copyright 2018 Google LLC * * Distributed under MIT license. * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /// import { OutgoingHttpHeaders } from 'http'; export declare const HOST_ADDRESS = "http://metadata.google.internal"; export declare const BASE_PATH = "/computeMetadata/v1"; export declare const BASE_URL: string; export declare const HEADER_NAME = "Metadata-Flavor"; export declare const HEADER_VALUE = "Google"; export declare const HEADERS: Readonly<{ [HEADER_NAME]: string; }>; export interface Options { params?: { [index: string]: string; }; property?: string; headers?: OutgoingHttpHeaders; } export declare function instance(options?: string | Options): Promise; export declare function project(options?: string | Options): Promise; /** * Determine if the metadata server is currently available. */ export declare function isAvailable(): Promise;