import { type SearchPublicGroupInfo } from "@droppii-org/wasm-client-sdk"; interface UseSearchPublicGroupsParams { searchTerm: string; enabled?: boolean; pageSize?: number; /** The inbox `Cộng đồng` tab lists every public group, so it queries with an empty keyword. */ allowEmptyTerm?: boolean; } export declare const useSearchPublicGroups: ({ searchTerm, enabled, pageSize, allowEmptyTerm, }: UseSearchPublicGroupsParams) => { groups: SearchPublicGroupInfo[]; total: number; fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise, Error>>; hasNextPage: boolean; isFetchingNextPage: boolean; isLoading: boolean; /** True until the first page arrives, including while the query waits to be enabled. */ isPending: boolean; isError: boolean; }; export {}; //# sourceMappingURL=useSearchPublicGroups.d.ts.map