export default function useErrorBoundaryReporter(suspense: boolean): (error: unknown) => void;