/** Long enough for a slow page, short enough that a peer which goes quiet cannot pin a caller for the process's lifetime. */ export declare const DEFAULT_FETCH_TIMEOUT_MS: number; /** The caller's signal, a deadline, or both - undefined when there is neither. */ export declare function combineSignals(signal: AbortSignal | null | undefined, timeout: number | undefined): AbortSignal | undefined; export interface FetchWithTimeoutInit extends RequestInit { timeout?: number; /** Bun only: a Unix socket path the request goes through. */ unix?: string | undefined; /** Bun only: TLS options for an https request. */ tls?: { rejectUnauthorized?: boolean | undefined; serverName?: string | undefined; } | undefined; } /** * `fetch` with a deadline, for every call to a service you do not run: a caller `signal` still * aborts, whichever fires first. Not for a response streamed on to a viewer, whose read outlives * any fixed deadline. */ export declare function fetchWithTimeout(url: string | URL, init?: FetchWithTimeoutInit): Promise; //# sourceMappingURL=fetch.d.ts.map