declare module "jest.config" { export const preset: string; export const testEnvironment: string; export const testPathIgnorePatterns: string[]; } declare module "src/utils" { function round(value: number, digitsPastDecimal?: number): number; function lookupGrowthStandards(key: number | Array, colKeyMatch: string | Array, filename: string): Record | undefined; function standardize_sex_var(sex: string | number): 1 | 2 | undefined; function standardize_oedema_var(oedema: string): string; function age_to_days(age: number, isAgeInMonth: boolean): number; function age_to_months(age: number, isAgeInMonth: boolean): number; function anthro_age_groups(age_in_months: number): string | undefined; export { lookupGrowthStandards, standardize_sex_var, standardize_oedema_var, age_to_days, age_to_months, anthro_age_groups, round }; } declare module "src/z-score-helper" { type zscoreFun = (y: number, m: number, l: number, s: number) => number; function compute_zscore(y: number, m: number, l: number, s: number): number; function compute_zscore_adjusted(y: number, m: number, l: number, s: number): number; function apply_zscore_and_growthstandards(zscore_fun: zscoreFun, growthstandards: string, age_in_days: number, sex: 1 | 2, measure: number): number | undefined; function flag_zscore(flag_threshold: number, score_name: string, zscore: number | undefined, valid_zscore: boolean): Record | Record; function adjust_lenhei(age_in_days_in: number, measure: string | undefined, lenhei: number): number; type anthroZscoreAdjusted = { name: string; measure?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; growthstandards: string; flag_threshold: number; allowed_age_range?: Array; zscore_is_valid?: boolean; zscore_fun?: zscoreFun; }; function anthro_zscore_adjusted({ name, measure, age_in_days, age_in_months, sex, growthstandards, flag_threshold, allowed_age_range, zscore_is_valid, zscore_fun, }: anthroZscoreAdjusted): ReturnType | undefined; export { compute_zscore, compute_zscore_adjusted, anthro_zscore_adjusted, adjust_lenhei, flag_zscore, apply_zscore_and_growthstandards }; } declare module "src/z-score-length-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type length_for_age = { lenhei?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; flag_threshold?: number; growthstandards?: string; }; export default function anthro_zscore_length_for_age({ lenhei, age_in_days, age_in_months, sex, flag_threshold, growthstandards, }: length_for_age): ReturnType; } declare module "src/z-score-weight-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type weight_for_age = { weight?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; oedema?: string | undefined; flag_threshold?: number; growthstandards?: string; }; export default function anthro_zscore_weight_for_age({ weight, age_in_days, age_in_months, sex, oedema, flag_threshold, growthstandards, }: weight_for_age): ReturnType; } declare module "src/z-score-weight-for-lenhei" { import { flag_zscore } from "src/z-score-helper"; type weight_for_lenhei = { weight?: number; lenhei?: number; lenhei_unit?: string; age_in_days?: number; age_in_months?: number; sex: 1 | 2; oedema?: string | undefined; flag_threshold?: number; growthstandards_wfl?: string; growthstandards_wfh?: string; }; export default function anthro_zscore_weight_for_lenhei({ weight, lenhei, lenhei_unit, age_in_days, age_in_months, sex, oedema, flag_threshold, growthstandards_wfl, growthstandards_wfh, }: weight_for_lenhei): ReturnType; } declare module "src/z-score-bmi-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type bmi_for_age = { bmi?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; oedema?: string | undefined; flag_threshold?: number; growthstandards?: string; }; export default function anthro_zscore_bmi_for_age({ bmi, age_in_days, age_in_months, sex, oedema, flag_threshold, growthstandards, }: bmi_for_age): ReturnType; } declare module "src/z-score-head-circumference-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type head_circumference = { headc?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; flag_threshold?: number; growthstandards?: string; }; export default function anthro_zscore_head_circumference_for_age({ headc, age_in_days, age_in_months, sex, flag_threshold, growthstandards, }: head_circumference): ReturnType; } declare module "src/z-score-arm-circumference-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type arm_circumference = { armc?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; growthstandards?: string; flag_threshold?: number; }; export default function anthro_zscore_arm_circumference_for_age({ armc, age_in_days, age_in_months, sex, flag_threshold, growthstandards, }: arm_circumference): ReturnType; } declare module "src/z-score-triceps-skinfold-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type triceps_skinfold_for_age = { triskin?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; flag_threshold?: number; growthstandards?: string; }; export default function anthro_zscore_triceps_skinfold_for_age({ triskin, age_in_days, age_in_months, sex, flag_threshold, growthstandards, }: triceps_skinfold_for_age): ReturnType; } declare module "src/z-score-subscapular-skinfold-for-age" { import { anthro_zscore_adjusted } from "src/z-score-helper"; type subscapular_skinfold_for_age = { subskin?: number; age_in_days: number; age_in_months: number; sex: 1 | 2; flag_threshold?: number; growthstandards?: string; }; export default function anthro_zscore_subscapular_skinfold_for_age({ subskin, age_in_days, age_in_months, sex, flag_threshold, growthstandards, }: subscapular_skinfold_for_age): ReturnType; } declare module "src/z-score" { type anthro_zscores = { sex: string | 1 | 2; age?: number; is_age_in_month?: boolean; weight?: number; lenhei?: number; measure?: string; headc?: number; armc?: number; triskin?: number; subskin?: number; oedema?: string; }; export default function anthro_zscores({ sex, age, is_age_in_month, weight, lenhei, measure, headc, armc, triskin, subskin, oedema, }: anthro_zscores): { clenhei: number | undefined; cbmi: number | undefined; cmeasure: string | undefined; csex: 2 | 1; } | undefined; } declare module "src/z-score-ena" { import anthro_zscores from "src/z-score"; type ena_zscores = { sex: string | 1 | 2; age?: number; is_age_in_month?: boolean; weight?: number; lenhei?: number; measure?: string; headc?: number; armc?: number; triskin?: number; subskin?: number; oedema?: string; clothing?: 'y'; clothing_weight?: number; }; export default function ena_zscores({ sex, age, is_age_in_month, weight, lenhei, measure, headc, armc, triskin, subskin, oedema, clothing, clothing_weight }: ena_zscores): ReturnType; } declare module "src/index" { import ena_zscore from "src/z-score-ena"; export default ena_zscore; } declare module "src/growthstandards/convertTxtToJson" { export {}; }