import { Workspace } from "../../interfaces/models/Workspace"; export interface CreateWorkspaceProps { name: string; metadata?: Record; parentWorkspaceId?: string | null; } /** * Create a root or child workspace. The creator (the bearer-token user) becomes * the owner. Root creation requires a verified email. */ declare function useCreateWorkspace(): (props: CreateWorkspaceProps) => Promise; export default useCreateWorkspace;