import * as pulumi from "@pulumi/pulumi";
/**
 * CockroachDB Cloud service account. A service account represents a non-person user. By default a service account has no access but it can be accompanied by either a cockroach.UserRoleGrants resource or any number of cockroach.UserRoleGrant resources to grant it roles.
 *
 * ## Import
 *
 * format <resource> <service account id>
 *
 * ```sh
 * $ pulumi import cockroach:index/serviceAccount:ServiceAccount api_service_account 1f69fdd2-600a-4cfc-a9ba-16995df0d77d
 * ```
 */
export declare class ServiceAccount extends pulumi.CustomResource {
    /**
     * Get an existing ServiceAccount resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceAccountState, opts?: pulumi.CustomResourceOptions): ServiceAccount;
    /**
     * Returns true if the given object is an instance of ServiceAccount.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ServiceAccount;
    /**
     * Creation time of the service account.
     */
    readonly createdAt: pulumi.Output<string>;
    /**
     * Name of the creator of the service account.
     */
    readonly creatorName: pulumi.Output<string>;
    /**
     * Description of the service account.
     */
    readonly description: pulumi.Output<string>;
    /**
     * Name of the service account.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Create a ServiceAccount resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args?: ServiceAccountArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ServiceAccount resources.
 */
export interface ServiceAccountState {
    /**
     * Creation time of the service account.
     */
    createdAt?: pulumi.Input<string>;
    /**
     * Name of the creator of the service account.
     */
    creatorName?: pulumi.Input<string>;
    /**
     * Description of the service account.
     */
    description?: pulumi.Input<string>;
    /**
     * Name of the service account.
     */
    name?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a ServiceAccount resource.
 */
export interface ServiceAccountArgs {
    /**
     * Description of the service account.
     */
    description?: pulumi.Input<string>;
    /**
     * Name of the service account.
     */
    name?: pulumi.Input<string>;
}
