import { type ReactNode } from "react"; import type { LeaderboardItemWithEnriched, PlayNowEvent } from "../types/types"; interface LeaderboardContextValue { onPlayNow?: (event: PlayNowEvent) => void; ongoingLeaderboards: LeaderboardItemWithEnriched[]; endedLeaderboards: LeaderboardItemWithEnriched[]; isLoading: boolean; error: Error | null; showPartner: boolean; setShowPartner: (showPartner: boolean) => void; } interface LeaderboardProviderProps { children: ReactNode; onPlayNow?: (event: PlayNowEvent) => void; initialShowPartner?: boolean; } export declare function LeaderboardProvider({ children, onPlayNow, initialShowPartner, }: LeaderboardProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useLeaderboardContext(): LeaderboardContextValue; export {};