export default function catchWindowErrors(): void;