UNPKG

530 BTypeScriptView Raw
1/*! MIT License © Sindre Sorhus */
2import type { KyInstance } from './types/ky.js';
3declare const ky: KyInstance;
4export default ky;
5export { Options, NormalizedOptions, RetryOptions, SearchParamsOption, DownloadProgress, } from './types/options.js';
6export { Hooks, BeforeRequestHook, BeforeRetryHook, BeforeErrorHook, AfterResponseHook, } from './types/hooks.js';
7export { ResponsePromise } from './types/response.js';
8export { HTTPError } from './errors/HTTPError.js';
9export { TimeoutError } from './errors/TimeoutError.js';