import type { KycSection } from './formLayout'; export type KycPosition = 1 | 2 | 3; /** Where a page stands in the pages walked so far, this round's included. */ export interface KycWalkOrder { index: number; count: number; /** The dot the rounds before this one reached; the walk never drops below it. */ floor?: KycPosition; } /** * The pages walked before this round, and this round's own, so a later * round's dot never drops back behind an earlier round's. */ export interface KycWalk { formId: string; before: number; pages: number; floor: KycPosition; } export declare function walkRound(walk: KycWalk | undefined, formId: string, pages: number): KycWalk; export declare function walkOrder(walk: KycWalk, step: number): KycWalkOrder; /** * The lit dot for a page: its place in the pages actually walked, bucketed * into the three positions, with the last page known lighting the last dot. * Without an order to read, the section's Figma grouping stands in. */ export declare function kycFormPosition(section: KycSection, order?: KycWalkOrder): KycPosition; //# sourceMappingURL=kycFormPosition.d.ts.map