import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of mongodb accounts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.mongodb.getAccounts({
 *     instanceId: "mongo-replica-xxx",
 * });
 * ```
 */
/** @deprecated volcengine.mongodb.Accounts has been deprecated in favor of volcengine.mongodb.getAccounts */
export declare function accounts(args: AccountsArgs, opts?: pulumi.InvokeOptions): Promise<AccountsResult>;
/**
 * A collection of arguments for invoking Accounts.
 */
export interface AccountsArgs {
    /**
     * The name of account. This field support fuzzy query.
     */
    accountName?: string;
    /**
     * The database of account. This field support fuzzy query.
     */
    authDb?: string;
    /**
     * Target query mongodb instance id.
     */
    instanceId: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
}
/**
 * A collection of values returned by Accounts.
 */
export interface AccountsResult {
    /**
     * The name of account.
     */
    readonly accountName?: string;
    /**
     * The collection of accounts query.
     */
    readonly accounts: outputs.mongodb.AccountsAccount[];
    /**
     * The database of account.
     */
    readonly authDb?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly instanceId: string;
    readonly outputFile?: string;
    /**
     * The total count of accounts query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of mongodb accounts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.mongodb.getAccounts({
 *     instanceId: "mongo-replica-xxx",
 * });
 * ```
 */
/** @deprecated volcengine.mongodb.Accounts has been deprecated in favor of volcengine.mongodb.getAccounts */
export declare function accountsOutput(args: AccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AccountsResult>;
/**
 * A collection of arguments for invoking Accounts.
 */
export interface AccountsOutputArgs {
    /**
     * The name of account. This field support fuzzy query.
     */
    accountName?: pulumi.Input<string>;
    /**
     * The database of account. This field support fuzzy query.
     */
    authDb?: pulumi.Input<string>;
    /**
     * Target query mongodb instance id.
     */
    instanceId: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
}
