declare class CloudflareResponse extends Response { } type CloudflareResponseBody any> = Awaited> extends CloudflareResponse ? R : never; type CloudflarePagesFunction = Record> = (context: Parameters>[0]) => T | Promise; interface PagesFunctionEnv { } interface PagesFunctionData extends Record { } declare function makeRawPagesFunction = PagesFunctionData>(fn: CloudflarePagesFunction, Env, Params, Data>): CloudflarePagesFunction, Env, Params, Data>; declare function makePagesFunction = PagesFunctionData>(fn: CloudflarePagesFunction): CloudflarePagesFunction, Env, Params, Data>; declare function makeRawResponse(body: T, init?: ResponseInit): CloudflareResponse; declare function makeResponse(body: T, init?: ResponseInit): CloudflareResponse ? R : T>; export { type CloudflarePagesFunction, CloudflareResponse, type CloudflareResponseBody, type PagesFunctionData, type PagesFunctionEnv, makePagesFunction, makeRawPagesFunction, makeRawResponse, makeResponse };