default: { add: (workspace: { name: string }) => Promise<IFrontNewWorkspace>; del: (workspace: { id: string }) => Promise<void>; update: (workspace: { id: string }, data: any[]) => Promise<void>; useWorkspaces: () => [ IFrontWorkspaces, { addOneWorkspace: (workspace: IFrontNewWorkspace) => Promise<void>; delOneWorkspace: (workspace: IFrontMutateWorkspacesItem) => Promise<void>; errorWorkspaces: Error; loadingWorkspaces: boolean; mutateOneWorkspace: ( workspace: IFrontMutateWorkspacesItem, ) => Promise<void>; }, ];} = ...