import { Card, Hand } from 'cardation'; import HandResult from './HandResult'; import Config from '../config/Config'; import Bet from '../bet/Bet'; import Tag from './tag/Tag'; /** * HandOutcome is the result of a hand. */ declare class HandOutcome { /** * Figure out the payout of the game. This static method is invoked by the engine to calculate the payout of a bet, and then assign the result to the outcome object. * @param {Bet} bet * @param {HandOutcome} outcome * @param {Config} config * @return {number} payout */ static getPayout(bet: Bet, outcome: HandOutcome, config: Config): number; private _shoeIndex; private _payout; handIndex: number; private _prevHandOutcome; private _nextHandOutcome; private _wager; private _pair; private _natural; private _superSix; private _puntoPair; private _bancoPair; private _puntoNatural; private _bancoNatural; result: HandResult; tagArray: Tag[]; puntoHand: Hand; bancoHand: Hand; constructor(result: HandResult, wager: number, payout: number, bCardArray: Card[], pCardArray: Card[], shoeIndex: number, hindex: number); get hasPair(): boolean; get hasNatural(): boolean; get hasSuperSix(): boolean; get hasPuntoPair(): boolean; get hasBancoPair(): boolean; get hasPuntoNatural(): boolean; get hasBancoNatural(): boolean; private _addTags; setPreviousHandOutcome(handcomeout: HandOutcome): void; getPreviousHandOutcome(): HandOutcome | undefined; setWager(wager: number): void; setPayout(payout: number): void; setNextHandOutcome(handcomeout: HandOutcome): void; getNextHandOutcome(): HandOutcome | undefined; getPayout(): number; getWager(): number; getShoeIndex(): number; } export default HandOutcome;