import { type LeaderboardItemWithEnriched } from "../types/types"; interface UseLeaderboardsResult { ongoingLeaderboards: LeaderboardItemWithEnriched[]; endedLeaderboards: LeaderboardItemWithEnriched[]; isLoading: boolean; error: Error | null; } /** * Hook to fetch and manage leaderboards data from all supported chains * Uses TanStack Query for caching and automatic refetching * This hook serves as the Single Source of Truth (SSoT) for all leaderboards data * @param showPartner - Whether to show partner leaderboards */ export declare function useLeaderboards(showPartner: boolean): UseLeaderboardsResult; export {};