import { RoundingMode } from './RoundingMode'; export declare class MathContext { readonly roundingMode: RoundingMode; readonly precision?: number; /** * Scale indicates the number of digits after the decimal point. */ readonly scale?: number; constructor(roundingMode: RoundingMode, precision?: number, scale?: number); static ofScale(scale: number, roundingMode: RoundingMode): MathContext; static ofPrecision(precision: number, roundingMode: RoundingMode): MathContext; } /** * Get if a given context has a scale or precision set. * * @param context */ export declare function hasScaleOrPrecision(context: MathContext): boolean; //# sourceMappingURL=MathContext.d.ts.map