UNPKG

ts-cards

Version:
12 lines (11 loc) 285 B
import { Card } from './card'; export declare class Deck { cards: Card[]; drawPile: Card[]; constructor(cards?: Card[]); get totalLength(): number; get remainingLength(): number; shuffleDrawPile(): void; shuffle(): void; draw(count?: number): Card[]; }