import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
 * Use this data source to get the list of RDS MySQL accounts.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const test = huaweicloud.Rds.getMysqlAccounts({
 *     instanceId: _var.instance_id,
 *     name: "test",
 *     host: "10.10.10.10",
 * });
 * ```
 */
export declare function getMysqlAccounts(args: GetMysqlAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetMysqlAccountsResult>;
/**
 * A collection of arguments for invoking getMysqlAccounts.
 */
export interface GetMysqlAccountsArgs {
    /**
     * Specifies the IP address that is allowed to access your DB instance.
     */
    host?: string;
    /**
     * Specifies the ID of the RDS instance.
     */
    instanceId: string;
    /**
     * Specifies the username of the DB account.
     */
    name?: string;
    /**
     * Specifies the region in which to query the data source.
     * If omitted, the provider-level region will be used.
     */
    region?: string;
}
/**
 * A collection of values returned by getMysqlAccounts.
 */
export interface GetMysqlAccountsResult {
    readonly host?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly instanceId: string;
    /**
     * Indicates the username of the DB account.
     */
    readonly name?: string;
    readonly region: string;
    /**
     * Indicates the list of users.
     * The users structure is documented below.
     */
    readonly users: outputs.Rds.GetMysqlAccountsUser[];
}
export declare function getMysqlAccountsOutput(args: GetMysqlAccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMysqlAccountsResult>;
/**
 * A collection of arguments for invoking getMysqlAccounts.
 */
export interface GetMysqlAccountsOutputArgs {
    /**
     * Specifies the IP address that is allowed to access your DB instance.
     */
    host?: pulumi.Input<string>;
    /**
     * Specifies the ID of the RDS instance.
     */
    instanceId: pulumi.Input<string>;
    /**
     * Specifies the username of the DB account.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the region in which to query the data source.
     * If omitted, the provider-level region will be used.
     */
    region?: pulumi.Input<string>;
}
