import type { TraitDNA } from '../analyzer/dna.js'; import type { CreatureState } from '../store.js'; export type RarityTier = 'common' | 'uncommon' | 'rare' | 'epic' | 'legendary'; export interface RarityResult { tier: RarityTier; score: number; reasons: string[]; } /** * Calculate rarity tier from Trait DNA and creature state. * Higher score = rarer creature. * * Target distribution: * Common: 0-30 (~50% of creatures) * Uncommon: 31-50 (~25%) * Rare: 51-70 (~15%) * Epic: 71-85 (~8%) * Legendary: 86+ (~2%) */ export declare function calculateRarity(dna: TraitDNA | null, creature: CreatureState): RarityResult; /** Display labels for rarity tiers */ export declare const RARITY_LABELS: Record; /** CSS color for rarity tier */ export declare const RARITY_COLORS: Record;