import { FileDescriptor, InputDescriptor, TextDescriptor } from '../../../types/FieldDescriptor'; import { CuringDescriptorState, CuringFormStateKey } from '../types'; import { certificationSection, closerConnectionCertDescriptor, closerConnectionCountryDescriptor, closerConnectionReasonDescriptor, closerConnectionSection } from './closerConnection'; import { consentBlockDescriptor, consentBlockSection, signatureNameDescriptor } from './consentBlock'; import { fileUploadDescriptor, fileUploadIntroDescriptor, fileUploadSection } from './fileUpload'; import { introDescriptor, issueSummaryDescriptor } from './issueSummary'; import { reasonableExplanationDescriptor, reasonableExplanationSection } from './reasonableExplanation'; import { CuringSectionDescriptor } from './section'; import { MIN_CURRENT_YEAR_DAYS_FOR_SPT, SPT_THRESHOLD, sptCurrentYearDaysDescriptor, sptPriorYearDaysDescriptor, sptSection, sptTwoPriorYearDaysDescriptor, sptWeightedTotalDescriptor, sptWeightedTotalSection } from './spt'; /** * Curing-side descriptor union. The SDK's top-level `FieldDescriptor` * union defaults to `DescriptorState`, which isn't compatible with * `CuringDescriptorState` (it has extra `derived` / `serverData` slots). * Mirror the union locally with the curing state parameterised in. * * Includes a curing-flavored `CuringSectionDescriptor` so titled groups * hydrate to the shared `HydratedSection` shape and reuse the * questionnaire's `SectionRenderer` + `.taxbit-section*` CSS. */ export type CuringFieldDescriptor = InputDescriptor | FileDescriptor | TextDescriptor | CuringSectionDescriptor; /** * Top-level ordered list walked by `hydrateCuring`. Sections hold their own * children inline (`CuringSectionDescriptor.items`), so this list contains * only the section heads + un-sectioned siblings (intro / issue summary). * * Order matches the sdk-design layout: * 1. Intro + per-issue bullets. * 2. Step 1: Upload documentary evidence section. * 3. Step 2: Reasonable explanation section (nests SPT + Closer-Connection * sub-sections; each only visible for its matching `explanationOption`). * Only visible when the user has an OPEN `US_INDICIA` issue. * 4. Step 3: Review + consent section. */ export declare const curingDescriptors: ReadonlyArray; export { certificationSection, closerConnectionCertDescriptor, closerConnectionCountryDescriptor, closerConnectionReasonDescriptor, closerConnectionSection, consentBlockDescriptor, consentBlockSection, fileUploadDescriptor, fileUploadIntroDescriptor, fileUploadSection, introDescriptor, issueSummaryDescriptor, MIN_CURRENT_YEAR_DAYS_FOR_SPT, reasonableExplanationDescriptor, reasonableExplanationSection, signatureNameDescriptor, SPT_THRESHOLD, sptCurrentYearDaysDescriptor, sptPriorYearDaysDescriptor, sptSection, sptTwoPriorYearDaysDescriptor, sptWeightedTotalDescriptor, sptWeightedTotalSection, }; export type CuringDescriptor = (typeof curingDescriptors)[number]; export type { CuringDescriptorState, CuringSectionDescriptor };