UNPKG

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