import type { TopLevelDataSchema } from '../context/StateContext/types';
import type { EntityProblems } from '../types/errors/entity-problems';
/**
 * @param entityProblems - entityProblems related to the task
 * @param forms - list of formIds in a task
 *
 * Now data for a single entity from backend can be split into multiple tasks (Eg: Company + CustomerSupport,
 * Individual+ CustomerSupport). EntityProblems contains verification errors grouped based on an entity and then forms
 * under it {@link EntityProblems.verificationErrors}. So a group can contain verification errors for multiple tasks.
 * To get errors per task, below function will filter the verification errors by forms present in the task.
 */
export declare const filterProblemsByTaskForms: <T extends TopLevelDataSchema>(entityProblems: EntityProblems | undefined, forms: Array<keyof T>) => EntityProblems | undefined;
