export interface ReputationProfile {
    deviceId: string;
    displayName: string;
    tier: 'bronze' | 'silver' | 'gold' | 'platinum' | 'diamond';
    score: number;
    totalContributions: number;
    acceptedPatterns: number;
    categoryStrengths: Array<{
        category: string;
        score: number;
        rank: number;
    }>;
    badges: Badge[];
    joinedAt: number;
    updatedAt: number;
}
export interface Badge {
    id: string;
    name: string;
    description: string;
    icon: string;
    earnedAt: number;
    category?: string;
}
export interface LeaderboardEntry {
    deviceId: string;
    displayName: string;
    score: number;
    tier: string;
    totalContributions: number;
    topCategory: string;
}
export declare function getOrCreateProfile(deviceId: string, displayName?: string): ReputationProfile;
export declare function recordContribution(deviceId: string, data: {
    category?: string;
    accepted: boolean;
    language?: string;
}): ReputationProfile;
export declare function getProfile(deviceId: string): ReputationProfile | null;
export declare function getLeaderboard(limit?: number): LeaderboardEntry[];
export declare function getAllBadges(): Badge[];
//# sourceMappingURL=reputation.d.ts.map