import type { Input, InternalOptions, Options } from '../types/options.js'; import { ResponsePromise } from '../types/ResponsePromise.js'; export declare class Ky { static create(input: Input, options: Options): ResponsePromise; request: Request; protected abortController?: AbortController; protected _retryCount: number; protected _input: Input; protected _options: InternalOptions; constructor(input: Input, options?: Options); protected _calculateRetryDelay(error: unknown): number; protected _decorateResponse(response: Response): Response; protected _retry Promise>(fn: T): Promise | void>; protected _fetch(): Promise; protected _stream(response: Response, onDownloadProgress: Options['onDownloadProgress']): Response; }