import * as pulumi from "@pulumi/pulumi";
/**
 * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
 *
 * Lists all databricks.MwsWorkspaces in Databricks Account.
 *
 * > **Note** `accountId` provider configuration property is required for this resource to work.
 *
 * ## Example Usage
 *
 * Listing all workspaces in
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as databricks from "@pulumi/databricks";
 *
 * const all = databricks.getMwsWorkspaces({});
 * export const allMwsWorkspaces = all.then(all => all.ids);
 * ```
 *
 * ## Related Resources
 *
 * The following resources are used in the same context:
 *
 * * databricks.MwsWorkspaces to manage Databricks Workspaces on AWS and GCP.
 * * databricks.MetastoreAssignment to assign databricks.Metastore to databricks.MwsWorkspaces or azurermDatabricksWorkspace
 */
export declare function getMwsWorkspaces(opts?: pulumi.InvokeOptions): Promise<GetMwsWorkspacesResult>;
/**
 * A collection of values returned by getMwsWorkspaces.
 */
export interface GetMwsWorkspacesResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * name-to-id map for all of the workspaces in the account
     */
    readonly ids: {
        [key: string]: string;
    };
}
/**
 * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
 *
 * Lists all databricks.MwsWorkspaces in Databricks Account.
 *
 * > **Note** `accountId` provider configuration property is required for this resource to work.
 *
 * ## Example Usage
 *
 * Listing all workspaces in
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as databricks from "@pulumi/databricks";
 *
 * const all = databricks.getMwsWorkspaces({});
 * export const allMwsWorkspaces = all.then(all => all.ids);
 * ```
 *
 * ## Related Resources
 *
 * The following resources are used in the same context:
 *
 * * databricks.MwsWorkspaces to manage Databricks Workspaces on AWS and GCP.
 * * databricks.MetastoreAssignment to assign databricks.Metastore to databricks.MwsWorkspaces or azurermDatabricksWorkspace
 */
export declare function getMwsWorkspacesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMwsWorkspacesResult>;
