import { CuringFormState } from './types'; /** * SPT weighted total per IRS rule: `⌊cy⌋ + ⌊py / 3⌋ + ⌊tpy / 6⌋`. * Floor-division per term; whole-integer output. * * Short-circuits when the current-year day count falls under the 31-day * IRS floor: at that point the prior-year inputs are hidden in the UI * (TAXDOC-1351) and the user cannot meet SPT regardless of their values, * so the helper returns just `cy` rather than reading stale day counts * left over from a previous state. This keeps `isValid` honest (no * silent-stuck submit gate) and keeps the `weighted_total` wire field * aligned with what the user can actually see. * * Shared between `useCuringState` (so descriptors and the UI can read it * from `state.derived.sptWeightedTotal`) and `useTaxbitCuring` (so the * submit hook can build `weighted_total` into the multipart payload * without re-implementing the formula). */ export declare const computeSptWeightedTotal: (fields: CuringFormState) => number;