UNPKG

@idealic/poker-engine

Version:

Professional poker game engine and hand evaluator with built-in iterator utilities

34 lines 1.04 kB
/** * Example module augmentation for Hand namespace * This demonstrates how other files can extend the Hand namespace */ import type { Hand } from '../Hand'; /** * Custom CSV serialization format for hands * @param hand - Hand to serialize * @returns CSV string representation */ export declare function toCSV(hand: Hand): string; /** * Custom compact format for logging * @param hand - Hand to serialize * @returns Compact string representation */ export declare function toCompact(hand: Hand): string; declare module '../Hand' { namespace Hand { /** * Export hand as CSV format * @param hand - Hand to serialize * @returns CSV string representation */ const toCSV: typeof import('./custom').toCSV; /** * Export hand in compact format for logging * @param hand - Hand to serialize * @returns Compact string representation */ const toCompact: typeof import('./custom').toCompact; } } //# sourceMappingURL=custom.d.ts.map