import { TraceItem } from "@cloudflare/workers-types"; import { zod } from "../zod"; import { Entry as LogEntry } from "./Entry"; import { Locations as LogLocations } from "./Locations"; import { Message as LogMessage } from "./Message"; export declare namespace Log { export import Message = LogMessage; export import Entry = LogEntry; export import Locations = LogLocations; const type: zod.ZodObject<{ id: zod.ZodString; realm: zod.ZodEnum<{ test: "test"; uk: "uk"; eea: "eea"; }>; script: zod.ZodOptional; collection: zod.ZodString; resource: zod.ZodOptional; entries: zod.ZodArray; }, zod.z.core.$strip>>; created: zod.z.ZodISODateTime; }, zod.z.core.$strip>; function fromEvents(events: TraceItem[]): Log[]; function configure(collection: string, realm: string | undefined, resource?: string, requireEntries?: boolean, locations?: LogLocations): void; function log(message: string, data?: any, resource?: string): void; function warning(message: string, data?: any, resource?: string): void; function exception(message: string, data?: any, resource?: string): void; } export type Log = zod.infer;