/// import type { SinkMap } from '@rdf-esm/sink-map'; import type { EventEmitter } from 'events'; import type { Stream } from 'rdf-js'; export interface ResponseWrapper { /** * Gets the URI used to perform the request */ readonly requestedUri: string; /** * Gets the response content type, as advertised in response HTTP header */ mediaType: string; /** * Gets the URI identifying the ApiDocumentation resource if present in the response Link header */ apiDocumentationLink: string | null; /** * If the request was redirected, returns the target resource */ redirectUrl: string | null; effectiveUri: string; resourceUri: string; /** * Gets the actual XMLHttpResponse object which can be used to do custom processing */ xhr: Response; /** * Returns a URL which is the product of applying it * to the request base. * * If the parameter is already an absolute URI reference, * it will be returned unchanged */ resolveUri(uri: string): string; quadStream(): Stream | null; } export default class implements ResponseWrapper { readonly requestedUri: string; readonly xhr: Response; private parsers; constructor(requestedUri: string, res: Response, parsers: SinkMap); quadStream(): Stream | null; get status(): number; get apiDocumentationLink(): string | null; get mediaType(): string; get redirectUrl(): string | null; get effectiveUri(): string; get resourceUri(): string; private get createdResourceUri(); private get canonicalUri(); resolveUri(uri: string): string; } //# sourceMappingURL=ResponseWrapper.d.ts.map