export function min(a: bigint, b: bigint): bigint { return a < b ? a : b; }