import { LeaderboardRankViewProps } from "./sqm-leaderboard-rank-view";
import { DemoData } from "../../global/demo";
/**
 * @uiName Leaderboard Rank
 */
export declare class LeaderboardRank {
  /**
   * @uiName Default rank
   * @uiType string
   * @uiEnum ["rowNumber", "rank", "denseRank"]
   * @uiEnumNames ["Row Number", "Rank", "Dense Rank"]
   */
  rankType: "rowNumber" | "rank" | "denseRank";
  /**
   * @uiName Rank text
   * @uiWidget textArea
   */
  rankText: string;
  /**
   * @uiName Leaderboard type
   * @uiType string
   * @required
   * @uiEnum ["topStartedReferrers", "topConvertedReferrers", "topPointEarners"]
   * @uiEnumNames ["Top Started Referrers", "Top Converted Referrers", "Top Point Earners"]
   */
  leaderboardType: "topStartedReferrers" | "topConvertedReferrers" | "topPointEarners";
  /**
   * @uiName Unranked text
   */
  unrankedText: string;
  /**
   * @uiName Leaderboard time interval
   * @uiWidget dateRange
   * @uiWidgetOptions {"allowPastDates":true, "months": 1}
   */
  interval: string;
  /**
   * Filters leaderboard to show only data from this program. Defaults to the program context where this leaderboard is.
   * If no program ID is set or provided by context, then a global leaderboard is shown.
   *
   * @uiName Program
   * @uiWidget programSelector
   */
  programId?: string;
  /**
   * @undocumented
   * @uiType object
   */
  demoData?: DemoData<LeaderboardRankViewProps>;
  constructor();
  disconnectedCallback(): void;
  render(): any;
}
