import type { LadderAngleInput, LadderAngleResult } from './types.js'; /** * OSHA 4:1 rule compliant setup-angle range, in degrees. The single source of truth * for the 70°/80° thresholds `ladderAngle()` checks `isCompliant` against — consumers * that draw the compliant band should import this rather than hardcoding the numbers. */ export declare const LADDER_COMPLIANT_ANGLE_RANGE: { readonly min: 70; readonly max: 80; }; /** * Calculate ladder setup angle and OSHA compliance. * * OSHA 4:1 Rule: For every 4 feet of height, the base should be 1 foot out. * This gives an ideal angle of atan(4/1) ≈ 75.96° (commonly cited as 75.5°). * Compliant range: see {@link LADDER_COMPLIANT_ANGLE_RANGE} (70°–80°). * * Provide ladderLength and either height or baseDistance. * If both height and baseDistance are provided, ladderLength is recalculated. * * @param input - Ladder dimensions (2 of 3 required) * @returns Angle, compliance status, and warnings * @throws {RangeError} a provided height/baseDistance is negative, or ladderLength ≤ 0 * when it is used as a given (i.e. height and baseDistance are not both supplied). */ export declare function ladderAngle(input: LadderAngleInput): LadderAngleResult; //# sourceMappingURL=ladderAngle.d.ts.map