import type { ByteCursor } from "../core/byte-cursor.ts"; export declare function readInt(bc: ByteCursor): bigint; export declare function writeInt(bc: ByteCursor, x: bigint): void; export declare function readIntSafe(bc: ByteCursor): number; export declare function writeIntSafe(bc: ByteCursor, x: number): void;