/** * A rejected value, said in a way that cannot read as an accepted one. * * Layer 1. Imports nothing. * * Every numeric guard in this package printed the offending value with `${value}`, which is right * for a number and wrong for everything else. `Number.isSafeInteger('0')` is false, so the string * `'0'` was rejected and then reported as "must be a whole number, received 0" — a sentence whose * rule the printed value satisfies. A reader who trusts the message looks past the argument. * * A BigInt is the case that costs the most. Every instant and every span edfcore hands out is * ticks, so passing one back where a number belongs is a mistake the API's own shape invites, and * `received 10000000` reads as a plausible value rather than as one out by ten million. * * Numbers keep their bare spelling, so `NaN`, `Infinity` and a real out-of-range integer say * exactly what they said before. This helper only exists for the values that are not numbers at * all (0.6.94). */ /** The value as a phrase that fits after "received" or "was given". Never a value's contents. */ export declare function describeValue(value: unknown): string; /** * A record range as written, with each field named as itself. * * Three modules each carried their own copy of `{ start: ${range.start}, count: ${range.count} }`, * and all three interpolated the value raw. A string interpolates as its digits, so the * `{ start: '0', count: '1' }` a JSON config or a URL query produces was refused with "records * { start: 0, count: 1 } is not inside the 4 data records this file contains" — a range that is * plainly inside it — and then told to clamp the range against `header.recordCount`, which for * those values is nothing a caller can act on. * * One home rather than three, for the reason 0.6.121 gives for `isByteArray`: two copies of a * rule have to be kept in agreement, and one does not. */ export declare function describeRecordRange(range: { readonly start?: unknown; readonly count?: unknown; } | null | undefined): string; //# sourceMappingURL=describe.d.ts.map