/** * Spell Database - Core D&D 5e SRD Spells * Used for validation against LLM hallucination (CRIT-006) */ import type { Spell, SpellcastingClass } from '../../schema/spell.js'; export declare const SPELL_DATABASE: Map; /** * Get spell by name (case-insensitive) */ export declare function getSpell(name: string): Spell | undefined; /** * Check if spell exists in database */ export declare function spellExists(name: string): boolean; /** * Get all spells of a specific level */ export declare function getSpellsByLevel(level: number): Spell[]; /** * Get all spells available to a class */ export declare function getSpellsForClass(characterClass: SpellcastingClass): Spell[]; /** * Check if a spell is available to a specific class */ export declare function isSpellAvailableToClass(spellName: string, characterClass: SpellcastingClass): boolean; /** * Get all cantrips */ export declare function getCantrips(): Spell[]; /** * Calculate cantrip damage dice based on character level * Cantrips scale at 5th, 11th, and 17th level */ export declare function getCantripDice(baseCount: number, characterLevel: number): string; /** * Calculate upcast damage dice */ export declare function calculateUpcastDice(spell: Spell, slotLevel: number): string; export declare const SPELL_COUNT: number; //# sourceMappingURL=spell-database.d.ts.map