import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
 * The role used for the invitation
 */
export declare const Role: {
    readonly Billing: "BILLING";
    readonly Contributor: "CONTRIBUTOR";
    readonly Developer: "DEVELOPER";
    readonly Member: "MEMBER";
    readonly Owner: "OWNER";
    readonly Security: "SECURITY";
    readonly Viewer: "VIEWER";
    readonly ViewerForPlus: "VIEWER_FOR_PLUS";
};
/**
 * The role used for the invitation
 */
export type Role = ClosedEnum<typeof Role>;
/**
 * The team roles of the user
 */
export declare const TeamRoles: {
    readonly Billing: "BILLING";
    readonly Contributor: "CONTRIBUTOR";
    readonly Developer: "DEVELOPER";
    readonly Member: "MEMBER";
    readonly Owner: "OWNER";
    readonly Security: "SECURITY";
    readonly Viewer: "VIEWER";
    readonly ViewerForPlus: "VIEWER_FOR_PLUS";
};
/**
 * The team roles of the user
 */
export type TeamRoles = ClosedEnum<typeof TeamRoles>;
/**
 * The team permissions of the user
 */
export declare const TeamPermissions: {
    readonly AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
    readonly AiGatewayBudgetManager: "AiGatewayBudgetManager";
    readonly AiGatewayCredits: "AiGatewayCredits";
    readonly AiGatewaySettings: "AiGatewaySettings";
    readonly AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
    readonly AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
    readonly ConnectorManager: "ConnectorManager";
    readonly CreateProject: "CreateProject";
    readonly EnvVariableManager: "EnvVariableManager";
    readonly EnvironmentManager: "EnvironmentManager";
    readonly FullProductionDeployment: "FullProductionDeployment";
    readonly IntegrationManager: "IntegrationManager";
    readonly OrgAdmin: "OrgAdmin";
    readonly OrgViewer: "OrgViewer";
    readonly UsageViewer: "UsageViewer";
    readonly V0Builder: "V0Builder";
    readonly V0Chatter: "V0Chatter";
    readonly V0Viewer: "V0Viewer";
    readonly WorkflowDecryptor: "WorkflowDecryptor";
};
/**
 * The team permissions of the user
 */
export type TeamPermissions = ClosedEnum<typeof TeamPermissions>;
/**
 * The member was successfully added to the team.
 */
export type InvitedTeamMember = {
    /**
     * The ID of the invited user
     */
    uid: string;
    /**
     * The username of the invited user
     */
    username: string;
    /**
     * The email of the invited user.
     */
    email: string;
    /**
     * The role used for the invitation
     */
    role: Role;
    /**
     * The team roles of the user
     */
    teamRoles?: Array<TeamRoles> | undefined;
    /**
     * The team permissions of the user
     */
    teamPermissions?: Array<TeamPermissions> | undefined;
};
/** @internal */
export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
/** @internal */
export declare const TeamRoles$inboundSchema: z.ZodNativeEnum<typeof TeamRoles>;
/** @internal */
export declare const TeamPermissions$inboundSchema: z.ZodNativeEnum<typeof TeamPermissions>;
/** @internal */
export declare const InvitedTeamMember$inboundSchema: z.ZodType<InvitedTeamMember, z.ZodTypeDef, unknown>;
export declare function invitedTeamMemberFromJSON(jsonString: string): SafeParseResult<InvitedTeamMember, SDKValidationError>;
//# sourceMappingURL=invitedteammember.d.ts.map