import type { ProgressFile, ProgressSnapshot, RankLadderEntry } from "./types.js";
export declare const MAX_LEVEL = 50;
/** Cumulative XP required to reach level n (level 1 = 0). */
export declare function xpForLevel(n: number): number;
/** Level for a cumulative XP total (1..MAX_LEVEL). */
export declare function levelForXp(xp: number): number;
export interface RankInfo {
    level: number;
    name: string;
    tier: number;
    tierName: string;
    tierGlyph: string;
    effectId: string;
}
/** Rank metadata for a level (clamped to 1..MAX_LEVEL). */
export declare function rankForLevel(level: number): RankInfo;
/** Build the broadcast snapshot the webview renders verbatim. */
export declare function buildSnapshot(file: ProgressFile): ProgressSnapshot;
/** Full 50-entry ladder for the scorecard. */
export declare function rankLadder(): RankLadderEntry[];
//# sourceMappingURL=ranks.d.ts.map