export default function onRecoverableError(err: any, errorInfo: any): void;