import type { LunaticError } from '../../../use-lunatic/type'; type Props = { errors?: Record; componentId: string; } | { errors?: LunaticError[]; componentId?: undefined; }; /** * Display a list of error as simple red text */ export declare function ComponentErrors({ errors, componentId }: Props): import("react/jsx-runtime").JSX.Element | null; export declare function getComponentErrors(errors?: Record, componentId?: string): LunaticError[] | undefined; export {};