import { DTOUserWorkspaceMembership } from "@supernova-studio/client"; import { WorkspaceSeatType } from "@supernova-studio/model"; import { UserRole } from "../enums/SDKUserRole"; import { Workspace } from "../workspaces/SDKWorkspace"; export type MembershipRemoteModel = DTOUserWorkspaceMembership; export declare class Membership { /** Workspace of this membership. */ workspace: Workspace; /** Selected role of the user. */ role: UserRole; /** Actual role of the user. */ effectiveRole: UserRole; /** Type of the seat in the workspace. */ seatType: WorkspaceSeatType; /** Actual type of the seat in the workspace. */ effectiveSeatType: WorkspaceSeatType; /** Whether the user is deactivated and can no longer access the workspace. */ isDeactivated: boolean; constructor(model: MembershipRemoteModel); }