import type { NetworkResponse } from '../types'; export default function responseHandler(status: number, response?: R | string): Promise>;