import { VNode } from "../../stencil-public-runtime";
import { LeaderboardViewProps } from "./sqm-leaderboard-view";
export interface LeaderboardProps {
  usersheading: string;
  statsheading: string;
  rankheading?: string;
  anonymousUser?: string;
  showRank?: boolean;
  hideViewer?: boolean;
  viewingUserText?: string;
  hideNames?: boolean;
  width?: string;
  rankSuffix?: string;
  rankType: "rowNumber" | "rank" | "denseRank";
  leaderboardType: "topStartedReferrers" | "topConvertedReferrers" | "topPointEarners";
  maxRows: number;
  programId?: string;
  interval: string;
  viewingUserHighlightColor?: string;
  viewingUserHighlightTextColor?: string;
  background?: string;
  borderColor?: string;
  textColor?: string;
  borderRadius?: number;
  empty: VNode;
  demoProps?: LeaderboardViewProps;
}
export declare type Rank = {
  rank: number;
  denseRank: number;
  rowNumber: number;
};
export declare type Leaderboard = {
  textValue: string;
  rank: number;
  firstName: string;
  lastInitial: string;
  rowNumber: number;
};
export declare function useLeaderboard(props: LeaderboardProps): LeaderboardViewProps;
