/**
 * Calculate largest possible value that avoids modulo bias.
 * @param {number} byteSize
 * @param {number} length
 * @return {bigint} max
 */
export declare const calculateMax: ({ byteSize, length, }: {
    byteSize: number;
    length: number;
}) => bigint;
