import * as pulumi from "@pulumi/pulumi";
/**
 * The `consul.getDatacenters` data source returns the list of all knwown Consul
 * datacenters.
 */
export declare function getDatacenters(opts?: pulumi.InvokeOptions): Promise<GetDatacentersResult>;
/**
 * A collection of values returned by getDatacenters.
 */
export interface GetDatacentersResult {
    /**
     * The list of datacenters known. The datacenters will be sorted
     * in ascending order based on the estimated median round trip time from the server
     * to the servers in that datacenter.
     */
    readonly datacenters: string[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
}
/**
 * The `consul.getDatacenters` data source returns the list of all knwown Consul
 * datacenters.
 */
export declare function getDatacentersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatacentersResult>;
