UNPKG

deck-of-cards-ts

Version:

Deck of cards package with TypeScript types.

7 lines (6 loc) 307 B
import { Rank, Suit, Value } from './types'; export declare const FULL_DECK_CARD_COUNT = 52; export declare const SUIT_TO_COLOR: Record<Suit, 'red' | 'black'>; export declare const ALL_RANKS: Rank[]; export declare const ALL_SUITS: Suit[]; export declare const RANK_TO_VALUE: Record<Rank, Value | Value[]>;