mtg-calculator
Version:
an MtG calculator for computing the probability of being able to draw and play cards from a deck
20 lines • 832 B
TypeScript
export function sum(a: any, b: any): any;
export function nCk(n: any, k: any, cache?: any): any;
export function factorial(n: any): bigNum;
export function convertedManaCost(card: any): any;
export function preprocessInput(deck: any, targetCard: any, totalDraws: any): {
deckBins: {};
costBins: {};
tapBins: {};
relevantBinsMap: {};
relevantBinsReverseMap: {};
deckInfo: {
targetCardCount: number;
landCount: number;
};
};
export function postProcess(resultsArr: any, deckBins: any, startingHandSize: any, totalDraws: any, deckInfo: any, CMC: any, nCkCache: any): any;
export function complexity(relevantBinsMap: any, costBins: any): bigNum;
export function binKeySort(arr: any): any;
import bigNum = require("bignumber.js/types");
//# sourceMappingURL=probabilityCalculatorUtils.d.ts.map