UNPKG

@i-xi-dev/base64

Version:

A JavaScript Base64 encoder and decoder, implements Forgiving base64 defined in WHATWG Infra Standard.

13 lines (12 loc) 726 B
import * as _Utils from "./_utils.js"; import { BigIntRange } from "./bigint_range.js"; export declare const ZERO = 0n; export declare const isBigInt: typeof _Utils._isBigInt; export declare function isPositiveBigInt(test: unknown): boolean; export declare function isNonNegativeBigInt(test: unknown): boolean; export declare function isNonPositiveBigInt(test: unknown): boolean; export declare function isNegativeBigInt(test: unknown): boolean; export declare function isOddBigInt(test: unknown): boolean; export declare function isEvenBigInt(test: unknown): boolean; export declare function clampBigInt(source: bigint, range: BigIntRange): bigint; export declare function inRange(test: bigint, range: BigIntRange): boolean;