type TheErrorProps = { readonly error: ErrorType | null | undefined; readonly handleKey?: (event: KeyboardEvent) => void; readonly info?: InfoType | null | undefined; readonly status?: string | null | undefined; readonly refresh: () => any; }; import React from "react"; import type { ErrorType, InfoType } from "./types"; declare const TheError: (props: TheErrorProps) => React.JSX.Element; export default TheError;