import { Ability } from './ability'; import { AncientTrait } from './ancientTrait'; import { Attack } from './attack'; import { Resistance, Weakness } from './stats'; import { CardImage } from './image'; import { ILegality } from './legality'; import { Set } from './set'; import { TCGPlayer } from './tcgplayer'; import { Type } from '../enums/type'; import { Supertype } from '../enums/supertype'; import { Subtype } from '../enums/subtype'; import { Rarity } from '../enums/rarity'; export interface Card { id: string; name: string; supertype: Supertype; subtypes: Subtype[]; hp?: string; types?: Type[]; evolvesFrom?: string; evolvesTo?: string[]; rules?: string[]; ancientTrait?: AncientTrait; abilities?: Ability[]; attacks?: Attack[]; weaknesses?: Weakness[]; resistances?: Resistance[]; retreatCost?: string[]; convertedRetreatCost?: number; set: Set; number: string; artist?: string; rarity: Rarity; flavorText?: string; nationalPokedexNumbers?: number[]; legalities: ILegality; images: CardImage; tcgplayer?: TCGPlayer; }