import { Space, SpaceIncludeParam } from "../../interfaces/models/Space"; import { PaginatedResponse } from "../../interfaces/PaginatedResponse"; import { SpaceListSortByOptions } from "../../interfaces/SpaceListSortByOptions"; import { NsfwFilter } from "../../interfaces/NsfwFilter"; export interface FetchManySpacesProps { page?: number; limit?: number; sortBy?: SpaceListSortByOptions; searchSlug?: string | null; searchName?: string | null; searchDescription?: string | null; searchAny?: string | null; memberOf?: boolean; parentSpaceId?: string | null; nsfwFilter?: NsfwFilter | null; include?: SpaceIncludeParam; } declare function useFetchManySpaces(): (params?: FetchManySpacesProps) => Promise>; export default useFetchManySpaces;