import { WorkspaceMember, WorkspaceCapability } from "../../interfaces/models/Workspace"; export interface UpdateWorkspaceMemberProps { workspaceId: string; targetUserId: string; capabilities?: WorkspaceCapability[]; permissions?: string[]; rank?: number; title?: string | null; metadata?: Record; } /** * Edit a direct member's access (capabilities / permissions / rank) and/or * profile (title / metadata). The actor is the bearer-token user and is subject * to the capability + rank rules on the workspace. */ declare function useUpdateWorkspaceMember(): (props: UpdateWorkspaceMemberProps) => Promise; export default useUpdateWorkspaceMember;