declare const handleAPIError: (err?: Error | null, toggleNotification?: any, message?: string) => never; export default handleAPIError;