export type { ConsoleMessage } from '../shared/console-types'; export { ConsoleMessageLevel, ConsoleMessageLevelCode, ConsoleMessageLevelName, } from '../shared/console-types'; export declare enum HttpMethod { GET = "GET", POST = "POST", PUT = "PUT", PATCH = "PATCH", DELETE = "DELETE", HEAD = "HEAD", OPTIONS = "OPTIONS" } export declare enum HttpResourceType { DOCUMENT = "document", STYLESHEET = "stylesheet", IMAGE = "image", MEDIA = "media", FONT = "font", SCRIPT = "script", TEXTTRACK = "texttrack", XHR = "xhr", FETCH = "fetch", EVENTSOURCE = "eventsource", WEBSOCKET = "websocket", MANIFEST = "manifest", OTHER = "other" } export type HttpRequest = { url: string; method: HttpMethod; headers: { [key: string]: string; }; body?: string; resourceType: HttpResourceType; failure?: string; duration?: number; response?: { status: number; statusText: string; headers: { [key: string]: string; }; body?: string; }; ok: boolean; timestamp: number; sequenceNumber: number; };