/** * @import { BytesLike, IntLike } from "@helios-lang/codec-utils" * @import { IntData, UplcData } from "../index.js" */ /** * @param {IntLike} value * @returns {IntData} */ export function makeIntData(value: IntLike): IntData; /** * @param {UplcData} data * @returns {asserts data is IntData} */ export function assertIntData(data: UplcData): asserts data is IntData; /** * @param {BytesLike} bytes * @returns {IntData} */ export function decodeIntData(bytes: BytesLike): IntData; /** * @param {UplcData} data * @param {string} msg * @returns {IntData} */ export function expectIntData(data: UplcData, msg?: string): IntData; /** * Math.log2 truncates, but we need a rounding down version * @param {bigint} x positive number * @returns {number} */ export function log2i(x: bigint): number; /** * Calculate the mem size of a integer (without the DATA_NODE overhead) * @param {bigint} value * @returns {number} */ export function calcIntMemSize(value: bigint): number; import type { IntLike } from "@helios-lang/codec-utils"; import type { IntData } from "../index.js"; import type { UplcData } from "../index.js"; import type { BytesLike } from "@helios-lang/codec-utils"; //# sourceMappingURL=IntData.d.ts.map