import type { ErrorPanelProps } from './types';
/**
 * Display the API server error messages which come in to flavours:
 * 1. An Error response when trying to PATCH/POST/etc... data to the server and a validation error occurs.
 * 2. A (KYC) verification error occurs after having gone through some checks which is returned in the capability problems array.
 * @param id - the id of the error panel
 * @param verificationErrors - a parent error to sub error mapped object for verification errors incl attached possible Remediation Actions.
 * @param validationErrors - a form to field key mapped object noting which fields have server validation errors.
 * @param formUtils - form utilities use to translate errors and field names.
 * @param heading - customisation for the alert header.
 */
export declare function ErrorPanel<Schema>({ id, verificationErrors, validationErrors, formUtils, }: ErrorPanelProps<Schema>): import("preact/jsx-runtime").JSX.Element | null;
