import * as z from "zod"; import { ConsoleLog, ConsoleLog$Outbound } from "./consolelog.js"; export type Cookies = { name: string; value: string; path?: string | undefined; domain?: string | undefined; expires?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; comment?: string | undefined; }; export type Headers = { name: string; value: string; comment?: string | undefined; }; export type QueryString = { name: string; value: string; comment?: string | undefined; }; export type Params = { name: string; value?: string | undefined; fileName?: string | undefined; contentType?: string | undefined; comment?: string | undefined; }; export type PostData = { mimeType: string; params: Array; text: string; comment?: string | undefined; }; export type Request = { method: string; url: string; httpVersion?: string | undefined; cookies: Array; headers: Array; queryString: Array; postData?: PostData | undefined; headersSize?: number | undefined; bodySize?: number | undefined; comment?: string | undefined; }; export type DebugDataCookies = { name: string; value: string; path?: string | undefined; domain?: string | undefined; expires?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; comment?: string | undefined; }; export type DebugDataHeaders = { name: string; value: string; comment?: string | undefined; }; export type Content = { size?: number | undefined; compression?: number | undefined; mimeType?: string | undefined; text?: string | undefined; encoding?: string | undefined; comment?: string | undefined; }; export type Response = { status: number; statusText: string; httpVersion?: string | undefined; cookies: Array; headers: Array; content: Content; redirectURL?: string | undefined; headersSize?: number | undefined; bodySize?: number | undefined; comment?: string | undefined; }; export type BeforeRequest = { expires?: string | undefined; lastAccess: string; eTag: string; hitCount: number; comment?: string | undefined; }; export type AfterRequest = { expires?: string | undefined; lastAccess: string; eTag: string; hitCount: number; comment?: string | undefined; }; export type DebugDataCache = { beforeRequest?: BeforeRequest | undefined; afterRequest?: AfterRequest | undefined; comment?: string | undefined; }; export type Timings = { blocked?: number | undefined; dns?: number | undefined; connect?: number | undefined; send: number; wait: number; receive: number; ssl?: number | undefined; comment?: string | undefined; }; export type NetworkEntriesPerPage = { pageref?: string | undefined; startedDateTime: string; time?: number | undefined; request: Request; response?: Response | undefined; cache?: DebugDataCache | undefined; timings: Timings; serverIPAddress?: string | undefined; connection?: string | undefined; comment?: string | undefined; }; export type DebugData = { logsPerPage: Array>; networkEntriesPerPage?: Array<{ [k: string]: NetworkEntriesPerPage; }> | undefined; }; /** @internal */ export declare const Cookies$inboundSchema: z.ZodType; /** @internal */ export type Cookies$Outbound = { name: string; value: string; path?: string | undefined; domain?: string | undefined; expires?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; comment?: string | undefined; }; /** @internal */ export declare const Cookies$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Cookies$ { /** @deprecated use `Cookies$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Cookies$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Cookies$Outbound` instead. */ type Outbound = Cookies$Outbound; } /** @internal */ export declare const Headers$inboundSchema: z.ZodType; /** @internal */ export type Headers$Outbound = { name: string; value: string; comment?: string | undefined; }; /** @internal */ export declare const Headers$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Headers$ { /** @deprecated use `Headers$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Headers$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Headers$Outbound` instead. */ type Outbound = Headers$Outbound; } /** @internal */ export declare const QueryString$inboundSchema: z.ZodType; /** @internal */ export type QueryString$Outbound = { name: string; value: string; comment?: string | undefined; }; /** @internal */ export declare const QueryString$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace QueryString$ { /** @deprecated use `QueryString$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `QueryString$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `QueryString$Outbound` instead. */ type Outbound = QueryString$Outbound; } /** @internal */ export declare const Params$inboundSchema: z.ZodType; /** @internal */ export type Params$Outbound = { name: string; value?: string | undefined; fileName?: string | undefined; contentType?: string | undefined; comment?: string | undefined; }; /** @internal */ export declare const Params$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Params$ { /** @deprecated use `Params$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Params$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Params$Outbound` instead. */ type Outbound = Params$Outbound; } /** @internal */ export declare const PostData$inboundSchema: z.ZodType; /** @internal */ export type PostData$Outbound = { mimeType: string; params: Array; text: string; comment?: string | undefined; }; /** @internal */ export declare const PostData$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PostData$ { /** @deprecated use `PostData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PostData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PostData$Outbound` instead. */ type Outbound = PostData$Outbound; } /** @internal */ export declare const Request$inboundSchema: z.ZodType; /** @internal */ export type Request$Outbound = { method: string; url: string; httpVersion?: string | undefined; cookies: Array; headers: Array; queryString: Array; postData?: PostData$Outbound | undefined; headersSize?: number | undefined; bodySize?: number | undefined; comment?: string | undefined; }; /** @internal */ export declare const Request$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Request$ { /** @deprecated use `Request$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Request$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Request$Outbound` instead. */ type Outbound = Request$Outbound; } /** @internal */ export declare const DebugDataCookies$inboundSchema: z.ZodType; /** @internal */ export type DebugDataCookies$Outbound = { name: string; value: string; path?: string | undefined; domain?: string | undefined; expires?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; comment?: string | undefined; }; /** @internal */ export declare const DebugDataCookies$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DebugDataCookies$ { /** @deprecated use `DebugDataCookies$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DebugDataCookies$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DebugDataCookies$Outbound` instead. */ type Outbound = DebugDataCookies$Outbound; } /** @internal */ export declare const DebugDataHeaders$inboundSchema: z.ZodType; /** @internal */ export type DebugDataHeaders$Outbound = { name: string; value: string; comment?: string | undefined; }; /** @internal */ export declare const DebugDataHeaders$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DebugDataHeaders$ { /** @deprecated use `DebugDataHeaders$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DebugDataHeaders$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DebugDataHeaders$Outbound` instead. */ type Outbound = DebugDataHeaders$Outbound; } /** @internal */ export declare const Content$inboundSchema: z.ZodType; /** @internal */ export type Content$Outbound = { size?: number | undefined; compression?: number | undefined; mimeType?: string | undefined; text?: string | undefined; encoding?: string | undefined; comment?: string | undefined; }; /** @internal */ export declare const Content$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Content$ { /** @deprecated use `Content$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Content$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Content$Outbound` instead. */ type Outbound = Content$Outbound; } /** @internal */ export declare const Response$inboundSchema: z.ZodType; /** @internal */ export type Response$Outbound = { status: number; statusText: string; httpVersion?: string | undefined; cookies: Array; headers: Array; content: Content$Outbound; redirectURL?: string | undefined; headersSize?: number | undefined; bodySize?: number | undefined; comment?: string | undefined; }; /** @internal */ export declare const Response$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Response$ { /** @deprecated use `Response$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Response$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Response$Outbound` instead. */ type Outbound = Response$Outbound; } /** @internal */ export declare const BeforeRequest$inboundSchema: z.ZodType; /** @internal */ export type BeforeRequest$Outbound = { expires?: string | undefined; lastAccess: string; eTag: string; hitCount: number; comment?: string | undefined; }; /** @internal */ export declare const BeforeRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BeforeRequest$ { /** @deprecated use `BeforeRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BeforeRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BeforeRequest$Outbound` instead. */ type Outbound = BeforeRequest$Outbound; } /** @internal */ export declare const AfterRequest$inboundSchema: z.ZodType; /** @internal */ export type AfterRequest$Outbound = { expires?: string | undefined; lastAccess: string; eTag: string; hitCount: number; comment?: string | undefined; }; /** @internal */ export declare const AfterRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AfterRequest$ { /** @deprecated use `AfterRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AfterRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AfterRequest$Outbound` instead. */ type Outbound = AfterRequest$Outbound; } /** @internal */ export declare const DebugDataCache$inboundSchema: z.ZodType; /** @internal */ export type DebugDataCache$Outbound = { beforeRequest?: BeforeRequest$Outbound | undefined; afterRequest?: AfterRequest$Outbound | undefined; comment?: string | undefined; }; /** @internal */ export declare const DebugDataCache$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DebugDataCache$ { /** @deprecated use `DebugDataCache$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DebugDataCache$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DebugDataCache$Outbound` instead. */ type Outbound = DebugDataCache$Outbound; } /** @internal */ export declare const Timings$inboundSchema: z.ZodType; /** @internal */ export type Timings$Outbound = { blocked?: number | undefined; dns?: number | undefined; connect?: number | undefined; send: number; wait: number; receive: number; ssl?: number | undefined; comment?: string | undefined; }; /** @internal */ export declare const Timings$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Timings$ { /** @deprecated use `Timings$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Timings$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Timings$Outbound` instead. */ type Outbound = Timings$Outbound; } /** @internal */ export declare const NetworkEntriesPerPage$inboundSchema: z.ZodType; /** @internal */ export type NetworkEntriesPerPage$Outbound = { pageref?: string | undefined; startedDateTime: string; time?: number | undefined; request: Request$Outbound; response?: Response$Outbound | undefined; cache?: DebugDataCache$Outbound | undefined; timings: Timings$Outbound; serverIPAddress?: string | undefined; connection?: string | undefined; comment?: string | undefined; }; /** @internal */ export declare const NetworkEntriesPerPage$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace NetworkEntriesPerPage$ { /** @deprecated use `NetworkEntriesPerPage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `NetworkEntriesPerPage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `NetworkEntriesPerPage$Outbound` instead. */ type Outbound = NetworkEntriesPerPage$Outbound; } /** @internal */ export declare const DebugData$inboundSchema: z.ZodType; /** @internal */ export type DebugData$Outbound = { logsPerPage: Array>; networkEntriesPerPage?: Array<{ [k: string]: NetworkEntriesPerPage$Outbound; }> | undefined; }; /** @internal */ export declare const DebugData$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace DebugData$ { /** @deprecated use `DebugData$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `DebugData$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `DebugData$Outbound` instead. */ type Outbound = DebugData$Outbound; } //# sourceMappingURL=debugdata.d.ts.map