import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a Datadog TeamMembership resource. This can be used to create and manage Datadog team_membership.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * const foo = new datadog.Team("foo", {
 *     description: "Example team",
 *     handle: "example-team-updated",
 *     name: "Example Team-updated",
 * });
 * const fooUser = new datadog.User("foo", {email: "new@example.com"});
 * // Create new team_membership resource
 * const fooTeamMembership = new datadog.TeamMembership("foo", {
 *     teamId: foo.id,
 *     userId: fooUser.id,
 *     role: "admin",
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * This resource is imported using teamId and userId seperated by `:`.
 *
 * ```sh
 * $ pulumi import datadog:index/teamMembership:TeamMembership foo "${team_id}:${user_id}"
 * ```
 */
export declare class TeamMembership extends pulumi.CustomResource {
    /**
     * Get an existing TeamMembership 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?: TeamMembershipState, opts?: pulumi.CustomResourceOptions): TeamMembership;
    /**
     * Returns true if the given object is an instance of TeamMembership.  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 TeamMembership;
    /**
     * The user's role within the team. Valid values are `admin`.
     */
    readonly role: pulumi.Output<string | undefined>;
    /**
     * ID of the team the team membership is associated with.
     */
    readonly teamId: pulumi.Output<string>;
    /**
     * The ID of the user.
     */
    readonly userId: pulumi.Output<string>;
    /**
     * Create a TeamMembership 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: TeamMembershipArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering TeamMembership resources.
 */
export interface TeamMembershipState {
    /**
     * The user's role within the team. Valid values are `admin`.
     */
    role?: pulumi.Input<string | undefined>;
    /**
     * ID of the team the team membership is associated with.
     */
    teamId?: pulumi.Input<string | undefined>;
    /**
     * The ID of the user.
     */
    userId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a TeamMembership resource.
 */
export interface TeamMembershipArgs {
    /**
     * The user's role within the team. Valid values are `admin`.
     */
    role?: pulumi.Input<string | undefined>;
    /**
     * ID of the team the team membership is associated with.
     */
    teamId: pulumi.Input<string>;
    /**
     * The ID of the user.
     */
    userId: pulumi.Input<string>;
}
//# sourceMappingURL=teamMembership.d.ts.map