import { VoteAggregationData, VoteAggregationResponse } from '../types'; interface UseVoteAggregationsOptions { collectionName?: string; autoFetch?: boolean; refetchInterval?: number; } /** * React hook for fetching vote aggregations with loading, error states * @param options - Optional configuration for the hook including collection name and auto-fetch behavior * @returns Object with aggregation data, fetch function, and state management */ export declare function useVoteAggregations(options?: UseVoteAggregationsOptions): { fetch: () => Promise; refetch: () => Promise; reset: () => void; data: VoteAggregationData | null; loading: boolean; error: string | null; }; export {}; //# sourceMappingURL=useVoteAggregations.d.ts.map