@altostra/core
Version:
Core library for shared types and logic
11 lines (10 loc) • 352 B
TypeScript
import type { DigitVariants, NthBase } from "./common";
/**
* An Nth base which is built from a list of digits
*/
export declare class SimpleNthBase implements NthBase {
readonly digits: readonly DigitVariants[];
readonly values: Readonly<Record<string, number>>;
constructor(digits: readonly DigitVariants[]);
get radix(): number;
}