export interface FlyRequestInit extends RequestInit {
    timeout?: number;
    readTimeout?: number;
}
/**
 * Starts the process of fetching a network request.
 *
 * See https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch
 * @global
 * @param req - The direct URL or Request for the resource you wish to fetch
 * @param init - Options for the request
 * @return A Promise that resolves to a {@linkcode Response} object
 */
export declare function fetch(req: RequestInfo, init?: FlyRequestInit): Promise<Response>;
export declare class TimeoutError extends Error {
}
