import type * as CF from '@cloudflare/workers-types'; export declare const ReadableStream: { new (underlyingSource: CF.UnderlyingByteSource, strategy?: CF.QueuingStrategy): CF.ReadableStream; new (underlyingSource?: CF.UnderlyingSource, strategy?: CF.QueuingStrategy): CF.ReadableStream; prototype: CF.ReadableStream; }; export declare const Request: { new >(input: RequestInfo | URL, init?: RequestInit): Request; prototype: Request; } & { new >(input: CF.RequestInfo | CF.URL, init?: CF.RequestInit): CF.Request; prototype: CF.Request; }; export declare const Response: { new (body?: BodyInit | null, init?: ResponseInit): Response; prototype: Response; error(): Response; redirect(url: string, status?: number): Response; json(any: any, maybeInit?: ResponseInit | Response): Response; } & { new (body?: CF.BodyInit | null, init?: CF.ResponseInit): CF.Response; prototype: CF.Response; error(): CF.Response; redirect(url: string, status?: number): CF.Response; json(any: any, maybeInit?: CF.ResponseInit | CF.Response): CF.Response; }; export declare const WebSocket: { new (url: string, protocols?: string[] | string): WebSocket; prototype: WebSocket; readonly READY_STATE_CONNECTING: number; readonly CONNECTING: number; readonly READY_STATE_OPEN: number; readonly OPEN: number; readonly READY_STATE_CLOSING: number; readonly CLOSING: number; readonly READY_STATE_CLOSED: number; readonly CLOSED: number; } & { new (url: string, protocols?: string[] | string): CF.WebSocket; prototype: CF.WebSocket; readonly READY_STATE_CONNECTING: number; readonly CONNECTING: number; readonly READY_STATE_OPEN: number; readonly OPEN: number; readonly READY_STATE_CLOSING: number; readonly CLOSING: number; readonly READY_STATE_CLOSED: number; readonly CLOSED: number; }; export declare const Rpc: typeof globalThis.Rpc & typeof CF.Rpc; export declare const WebSocketPair: new () => { 0: CF.WebSocket; 1: CF.WebSocket; }; export declare const WebSocketRequestResponsePair: typeof CF.WebSocketRequestResponsePair; //# sourceMappingURL=cf-declare.d.ts.map