import { ClientTaxDocumentation, SignedClientTaxDocumentation } from '@taxbit/utilities'; import { QuestionnaireProp, QuestionnaireState } from '../../types'; /** * The slice of `DescriptorState` the outbound transforms read — the flat * `fields` plus the questionnaire mode. `DescriptorState` satisfies this, so a * caller hands in the same state object the descriptors receive. We type * against the slice (not `DescriptorState` itself) to keep `utils` a leaf — the * same reason `getDerivedState` defines its own `DerivedStateInput`. */ type OutboundTransformState = { fields: QuestionnaireState; config: { questionnaire: QuestionnaireProp; }; }; export declare const transformForClient: (state: OutboundTransformState) => ClientTaxDocumentation; export declare const transformForSignedClient: (state: OutboundTransformState) => SignedClientTaxDocumentation; export {};