import type { LmsRow, Sex, Indicator, ChartSet } from './types.js'; /** * Look up LMS values for a given index (age in days/months or length/height in cm). * Uses binary search + linear interpolation between adjacent points. * * Returns null if the index is out of the table's range. */ export declare function lookupLms(table: LmsRow[], index: number): LmsRow | null; /** * Determine which table to load and what index to use for an indicator. * Returns the table key and the age/measurement index. */ interface TableLookupParams { indicator: Indicator; sex: Sex; ageInDays?: number; lengthHeight?: number; chartSet?: ChartSet; gestationalAgeWeeks?: number; } interface ResolvedTable { table: LmsRow[]; index: number; } /** * Load and resolve the appropriate LMS table + index for a given indicator. * Dispatches to the correct chart set (WHO or Down syndrome). */ export declare function resolveTable(params: TableLookupParams): Promise; export {}; //# sourceMappingURL=lms.d.ts.map