import AwaitedHandler from '../AwaitedHandler'; import AwaitedPath from '../AwaitedPath'; import Constructable from '../Constructable'; import { IRequest, IBody, IRequestInfo, IRequestInit, IRequestCache, IRequestCredentials, IRequestDestination, IHeaders, IRequestMode, IRequestRedirect, IReferrerPolicy } from '../interfaces/official'; import { IBodyProperties } from '../official-mixins/Body'; export declare const getState: (instance: IRequest) => IRequestProperties, setState: (instance: IRequest, properties: Partial) => void; export declare const awaitedHandler: AwaitedHandler; export declare function RequestGenerator(Body: Constructable): { new (_input: IRequestInfo, _init?: IRequestInit | undefined): { readonly cache: Promise; readonly credentials: Promise; readonly destination: Promise; readonly headers: IHeaders; readonly integrity: Promise; readonly isHistoryNavigation: Promise; readonly isReloadNavigation: Promise; readonly keepalive: Promise; readonly method: Promise; readonly mode: Promise; readonly redirect: Promise; readonly referrer: Promise; readonly referrerPolicy: Promise; readonly url: Promise; readonly bodyUsed: Promise; arrayBuffer(): Promise; json(): Promise; text(): Promise; }; }; export interface IRequestProperties extends IBodyProperties { awaitedPath: AwaitedPath; awaitedOptions: any; readonly cache?: Promise; readonly credentials?: Promise; readonly destination?: Promise; readonly headers?: IHeaders; readonly integrity?: Promise; readonly isHistoryNavigation?: Promise; readonly isReloadNavigation?: Promise; readonly keepalive?: Promise; readonly method?: Promise; readonly mode?: Promise; readonly redirect?: Promise; readonly referrer?: Promise; readonly referrerPolicy?: Promise; readonly url?: Promise; } export declare const RequestPropertyKeys: string[]; export declare const RequestConstantKeys: never[];