import { Workspace, WorkspaceIncludeParam } from "../../interfaces/models/Workspace"; export interface UseFetchManyWorkspacesWrapperProps { limit?: number; /** * Include flags, as an array or a comma-separated string. `memberCount` adds * each accumulated workspace's DIRECT member count. */ include?: WorkspaceIncludeParam; } export interface UseFetchManyWorkspacesWrapperValues { workspaces: Workspace[]; loading: boolean; hasMore: boolean; loadMore: () => void; } /** * Wrapper hook for the workspaces list (mirrors `useFetchManyEntitiesWrapper`). * Manages page state, accumulation, and load-more over the caller's * direct-membership + owned workspaces. NO Redux slice (house style — prefer the * Wrapper hook). */ declare function useFetchManyWorkspacesWrapper(props?: UseFetchManyWorkspacesWrapperProps): UseFetchManyWorkspacesWrapperValues; export default useFetchManyWorkspacesWrapper;