import BodyInit from "./body/Init"; import { IImmutable as IBodyImmutable, IMutable as IBodyMutable } from "./IBody"; import { IImmutable as IHeadersImmutable, IMutable as IHeadersMutable } from "./IHeaders"; import IInit from "./response/IInit"; export interface IResponseImmutable extends IBodyImmutable { readonly headers: IHeadersImmutable; readonly ok: boolean; readonly status: number; readonly statusText: string; readonly url: string; clone(): IResponseMutable; } export interface IResponseMutable extends IResponseImmutable, IBodyMutable { headers: IHeadersMutable; } export declare type ResponseInit = IInit; export interface IResponseStatic { new (body?: BodyInit, init?: ResponseInit): IResponseMutable; } export { IResponseImmutable as IImmutable, IResponseMutable as IMutable, ResponseInit as Init, IResponseStatic as IStatic, }; export default IResponseMutable;