UNPKG

@flesh-and-blood/search

Version:

TypeScript search engine for Flesh and Blood cards

13 lines (12 loc) 484 B
import { Card, Hero } from "@flesh-and-blood/types"; export declare const getRelatedCardsByName: (name: string, cards: Card[]) => { otherPitches: Card[]; referencedBy: Card[]; references: Card[]; }; export declare const getRelatedCards: (card: Card, availableCards: Card[]) => { otherPitches: Card[]; referencedBy: Card[]; references: Card[]; }; export declare const getTokensReferencedByCards: (cards: Card[], availableTokens: Card[], hero?: Hero) => Card[];