import { DescriptorState } from 'contexts/types'; import { InputStep } from 'types/InputStep'; /** * Shared descriptor helpers used across multiple field-descriptor files. * * Pull thin one-liners here when the same predicate or callback factory * appears in two or more descriptor files. Keep file-specific helpers * (e.g., bespoke visibility predicates that only one section uses) in * the descriptor file itself — moving everything generic-shaped here * just creates a god-helpers file. */ /** * Build the `getOnEdit` callback for an editable descriptor: navigate to a * step and flip the form into editing mode. Used by every recap row that * exposes an Edit button on the summary step. */ export declare const editCallback: (step: InputStep, { ui: { goTo, setIsEditing } }: DescriptorState) => (() => void); /** True when the account holder is a Disregarded Entity. */ export declare const isDre: ({ fields }: DescriptorState) => boolean; /** True when the account holder is an individual (per derived classification). */ export declare const isIndividual: ({ fields }: DescriptorState) => boolean;