/** * Order of iso-ssbg1-v1 FEC blocks on the 32-bit SS_ID (ISO/IEC 23008-1:2023 * C.5.2/C.5.3; RFC 1982 serial arithmetic, SERIAL_BITS = 32; BLO-35597 iso:5). * The K-stride (SBN * K) order of the retired k-padded-v1 profile is gone. */ /** Forward RFC 1982 distance from `from` to `to` on the 32-bit SS_ID, in 0..2^32-1. */ export declare function serialDistance(from: number, to: number): number; /** Whether `a` precedes `b` under RFC 1982 serial comparison (SERIAL_BITS = 32). */ export declare function serialPrecedes(a: number, b: number): boolean; /** Whether `ssId` is one of the `ssbLength` consecutive SS_IDs starting at `ssStart`, mod 2^32. */ export declare function isoBlockContains(ssStart: number, ssbLength: number, ssId: number): boolean; /** Whether two SS_ID ranges `[start, start + length)` share any SS_ID, mod 2^32. */ export declare function isoBlocksOverlap(aStart: number, aLength: number, bStart: number, bLength: number): boolean; /** * How many blocks SS_ID `a` lies behind SS_ID `b` (0 unless `a` precedes `b`): * a lower bound, because an iso-ssbg1-v1 block holds at most `kMax` source * symbols, so `n * kMax` SS_IDs always span at least `n` blocks. This is the * one interleave-horizon metric every ISO receiver layer shares (decoder * retention, worker retirement, ordered-relay settlement). */ export declare function isoBlocksBehind(a: number, b: number, kMax: number): number; //# sourceMappingURL=block-order.d.ts.map