export interface LeaveWorkspaceProps { workspaceId: string; } /** * Self-service departure — removes the bearer-token user's DIRECT membership on * this node only (descendant memberships are untouched). An owner cannot leave * their own workspace; transfer ownership or delete it first. */ declare function useLeaveWorkspace(): (props: LeaveWorkspaceProps) => Promise; export default useLeaveWorkspace;