@idealic/poker-engine
Version:
Professional poker game engine and hand evaluator with built-in iterator utilities
14 lines • 644 B
TypeScript
/**
* Venue-agnostic PHH → Poker Room Narrative
*
* @instructions Convert PHH hand to poker room narrative hand with exact action length summary and PokerStars/Home Game conventions. Extensible for other venues.
* Do not attempt to optimize or remove redundant actions during narration.
*/
import type { Card, Hand } from '../types';
/**
* @deprecated Use Poker.Hand.serialize(hand, 'pokerstars') instead
* This function is kept for backward compatibility
*/
export declare function phhToNarrative(hand: Hand): string;
export declare function describeHand(cards: Card[], board: Card[]): string;
//# sourceMappingURL=narrative.d.ts.map