/** * check if the status code is 2xx * */ export declare function checkedFetch({ input, init, on2xx, non2xx, }: { input: RequestInfo; init?: RequestInit; on2xx: (response: Response) => T | Promise; non2xx: (response: Response) => T | Promise; }): Promise;