import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to get information about a list of databases in a Cloud SQL instance.
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const qa = gcp.sql.getDatabases({
 *     instance: main.name,
 * });
 * ```
 */
export declare function getDatabases(args: GetDatabasesArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabasesResult>;
/**
 * A collection of arguments for invoking getDatabases.
 */
export interface GetDatabasesArgs {
    /**
     * The name of the Cloud SQL database instance in which the database belongs.
     */
    instance: string;
    /**
     * The ID of the project in which the instance belongs.
     *
     * > **Note** This datasource performs client-side sorting to provide consistent ordering of the databases.
     */
    project?: string;
}
/**
 * A collection of values returned by getDatabases.
 */
export interface GetDatabasesResult {
    readonly databases: outputs.sql.GetDatabasesDatabase[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly instance: string;
    readonly project?: string;
}
/**
 * Use this data source to get information about a list of databases in a Cloud SQL instance.
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const qa = gcp.sql.getDatabases({
 *     instance: main.name,
 * });
 * ```
 */
export declare function getDatabasesOutput(args: GetDatabasesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabasesResult>;
/**
 * A collection of arguments for invoking getDatabases.
 */
export interface GetDatabasesOutputArgs {
    /**
     * The name of the Cloud SQL database instance in which the database belongs.
     */
    instance: pulumi.Input<string>;
    /**
     * The ID of the project in which the instance belongs.
     *
     * > **Note** This datasource performs client-side sorting to provide consistent ordering of the databases.
     */
    project?: pulumi.Input<string>;
}
