import { Workspace, WorkspaceCapability } from "../../interfaces/models/Workspace"; export interface TransferWorkspaceOwnershipProps { workspaceId: string; newOwnerId: string; previousOwnerDisposition?: "demote" | "remove"; previousOwnerRank?: number; previousOwnerCapabilities?: WorkspaceCapability[]; } /** * Hand a workspace to a new owner. The actor is the bearer-token user and must * be the workspace's own owner or an ancestor owner. */ declare function useTransferWorkspaceOwnership(): (props: TransferWorkspaceOwnershipProps) => Promise; export default useTransferWorkspaceOwnership;