export default function expectToThrow(func: () => void, message?: string | Error | RegExp): void;