import type { ToleranceInput, ToleranceResult } from './types.js'; /** * The nominal size ranges the tolerance tables cover, in millimetres, from the smallest * upward. A size belongs to the range where `over < size <= upTo`, matching how the * standard states its own bounds. * * Exported because a caller cannot enumerate the ranges by probing `tolerance()`, and * restating them on its side would be a second source for the same figures: the day the * covered range moves, the caller would keep listing the old one. Anything that presents * results per size range — a lookup table, a range selector — should read them here. */ export declare const ISO286_SIZE_RANGES: ReadonlyArray<{ readonly over: number; readonly upTo: number; }>; /** * Calculate ISO tolerance band for a given nominal size and tolerance class. * * @reference ISO 286-1:2010 (tolerance-grade table, IT4-IT14) and ISO 286-2:2010 (fundamental * deviation tables for hole/shaft letters). Cell-level values are transcribed from and * golden-tested against the published tables — see `tolerance.test.ts`'s "against the ISO * 286-1/286-2 table" describe blocks, including the ISO 286-1 delta-term correction (K/M/N/P * above H) documented there. * @throws RangeError if the nominal size is out of range, the IT grade is unknown, * or the deviation letter is unknown */ export declare function tolerance(input: ToleranceInput): ToleranceResult; //# sourceMappingURL=tolerance.d.ts.map