import { IntIntervalType, NumberPrimitive, ValueType } from '../types'; import { Arg } from './wrap'; export declare const fixRoundingError: (n: number) => number; export declare const isSmallIntInterval: (type: IntIntervalType) => boolean; export declare const mapSmallIntInterval: ({ min, max }: IntIntervalType, mapFn: (i: number) => Arg) => Arg; export declare const handleNumberLiterals: (value: NumberPrimitive, defaultValue: Arg, fn: (n: number) => Arg) => Arg; export interface RangePoint { value: number; exclusive: boolean; } export declare const combineRangePoints: (points: readonly RangePoint[]) => import("../types").NumericLiteralType | import("../types").IntervalType | import("../types").NonIntIntervalType | import("../types").NeverType; export declare const hasLiteral: (a: Arg, n: number) => boolean;