import type { EntityProblems } from '../types/errors/entity-problems'; import type { FormList, FormModel, FormModelWithValidity } from '../types/form'; /** * @@description Based requiredfields and optionalFields determine what forms need to be shown and add a summaryStep in the dropin * * @param forms * @param requiredFields * @param optionalFields * @param skipSummary */ export declare const getRequiredForms: (forms: FormList, requiredFields: Record | undefined, optionalFields: Record | undefined, skipSummary?: boolean) => FormModel[]; /** * @description Based on validity of fields from formValidity and existence of validationErrors/Verification errors from backend determine whether the forms needs to be shown as valid or not * * @param forms * @param formValidity * @param problems */ export declare const addValidityToForms: (forms: FormModel[], formValidity: Record | undefined, problems: EntityProblems | undefined) => FormModelWithValidity[];