import Cost from "../cost/cost"; import Item from "./Item"; export declare const itemRarities: readonly ["artifact", "legendary", "very_rare", "rare", "uncommon", "common", "varies", "unknown_rarity"]; export declare type ItemRarity = typeof itemRarities[number]; export declare const itemCategories: readonly ["wondrous_item", "weapon", "potion", "wand", "scroll", "rod", "armor"]; export declare type ItemCategory = typeof itemCategories[number]; export default class MagicItem extends Item { readonly rarity: ItemRarity; readonly category: ItemCategory; readonly subCategory?: string; constructor({ href, name, rarity, category, subCategory, cost, }: { href: URL; name: string; rarity: ItemRarity; category: ItemCategory; subCategory?: string; cost: Cost; }); }