import type { TapInput, TapResult } from './types.js'; /** * Calculate tap drill size and thread dimensions. * * For metric threads (ISO): * - Thread height H = 0.866025 x pitch (sqrt(3)/2 x p) * - Minor diameter = Major diameter - 2 x (5/8) x H = D - 1.0825 x p * - Tap drill for 75% thread = Major diameter - pitch * - General formula: Tap drill = D - (2 x H x %/100) * * For Unified threads (UNC/UNF): * - Convert TPI to pitch: p = 25.4 / TPI * - Same formulas apply * * The 0.866025 and 1.0825 factors are the geometry of the 60 degree basic profile, not * chosen constants. The thread percentage is a shop choice on top of that geometry: 75% * is the usual default because it keeps most of the strength for much less tapping * torque, but it is a convention, and no standard prescribes it. * * @reference ISO 68-1, basic profile for ISO general purpose metric screw threads. */ export declare function tap(input: TapInput): TapResult; //# sourceMappingURL=tap.d.ts.map