import { BaseError } from 'make-error'; export declare class FetchTimeoutError extends BaseError { readonly response: Response; readonly timeout: number; constructor(response: Response, timeout: number); } /** * Wraps a fetch function to add automatic timeout/abort support. If a timeout value * is present on the RequestInit or Request and no abort signal is already provided, * an AbortController is created to abort the request after the specified duration. * * @param inputFetch - the fetch function to wrap with timeout behavior * @returns a wrapped fetch function that enforces timeouts via AbortController */ export declare function fetchTimeout(inputFetch: typeof fetch): typeof fetch;