import * as z from "zod/mini"; export declare const telemetryIdentityTypeSchema: z.ZodMiniPipe, z.ZodMiniTransform<"anonymousId" | "context.device.advertisingId" | "context.device.id" | "context.device.token" | "traits.email" | "traits.phone" | "userId", string>>; export type TelemetryIdentityType = z.output; export declare const telemetryIdentitySchema: z.ZodMiniObject<{ type: z.ZodMiniPipe, z.ZodMiniTransform<"anonymousId" | "context.device.advertisingId" | "context.device.id" | "context.device.token" | "traits.email" | "traits.phone" | "userId", string>>; value: z.ZodMiniString; }, z.core.$strip>; export type TelemetryIdentity = z.output; export declare const telemetryContextSchema: z.ZodMiniObject<{ page: z.ZodMiniObject<{ path: z.ZodMiniOptional, z.ZodMiniNull]>>; referrer: z.ZodMiniOptional, z.ZodMiniNull]>>; search: z.ZodMiniOptional, z.ZodMiniNull]>>; origin: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; widgetVersion: z.ZodMiniString; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type TelemetryContext = z.output; export declare const telemetryEventSchema: z.ZodMiniObject<{ type: z.ZodMiniString; timestamp: z.ZodMiniNumber; apiKey: z.ZodMiniString; debug: z.ZodMiniBoolean; identities: z.ZodMiniArray, z.ZodMiniTransform<"anonymousId" | "context.device.advertisingId" | "context.device.id" | "context.device.token" | "traits.email" | "traits.phone" | "userId", string>>; value: z.ZodMiniString; }, z.core.$strip>>; context: z.ZodMiniObject<{ page: z.ZodMiniObject<{ path: z.ZodMiniOptional, z.ZodMiniNull]>>; referrer: z.ZodMiniOptional, z.ZodMiniNull]>>; search: z.ZodMiniOptional, z.ZodMiniNull]>>; origin: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; widgetVersion: z.ZodMiniString; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>; properties: z.ZodMiniOptional, z.ZodMiniUnknown>>; }, z.core.$strip>; export type WidgetTelemetryEvent = z.output; export declare const serverTelemetrySourceSchema: z.ZodMiniObject<{ runtime: z.ZodMiniEnum<{ core: "core"; tooling: "tooling"; web: "web"; worker: "worker"; }>; subsystem: z.ZodMiniEnum<{ access_control: "access_control"; agent_runner: "agent_runner"; analytics_delivery_cron: "analytics_delivery_cron"; atlas: "atlas"; background_migration: "background_migration"; ci_runner: "ci_runner"; crm_activity: "crm_activity"; delivery: "delivery"; dispatch_cron: "dispatch_cron"; flow_assignment: "flow_assignment"; identity_cron: "identity_cron"; identity_generation: "identity_generation"; revocation: "revocation"; segment_ingest: "segment_ingest"; server_runtime: "server_runtime"; }>; environment: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; export type ServerTelemetrySource = z.output; export declare const serverTelemetryProjectSchema: z.ZodMiniObject<{ apiKey: z.ZodMiniOptional, z.ZodMiniNull]>>; organizationId: z.ZodMiniOptional, z.ZodMiniNull]>>; integrationId: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; export type ServerTelemetryProject = z.output; export declare const serverTelemetryTraceSchema: z.ZodMiniObject<{ effectRequestId: z.ZodMiniOptional, z.ZodMiniNull]>>; requestId: z.ZodMiniOptional, z.ZodMiniNull]>>; jobKey: z.ZodMiniOptional, z.ZodMiniNull]>>; lockId: z.ZodMiniOptional, z.ZodMiniNull]>>; processInstanceId: z.ZodMiniOptional, z.ZodMiniNull]>>; signalId: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; export type ServerTelemetryTrace = z.output; export declare const serverTelemetryDimensionValueSchema: z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniBoolean, z.ZodMiniNull]>; export type ServerTelemetryDimensionValue = z.output; export declare const telemetrySnakeCaseKeySchema: z.ZodMiniString; export type TelemetrySnakeCaseKey = z.output; export declare const serverTelemetryDimensionsSchema: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniBoolean, z.ZodMiniNull]>>>; export type ServerTelemetryDimensions = z.output; export declare const serverTelemetryDiagnosticsSchema: z.ZodMiniOptional, z.ZodMiniUnknown>>; export type ServerTelemetryDiagnostics = z.output; export declare const serverTelemetryMetricsSchema: z.ZodMiniOptional, z.ZodMiniNumber>>; export type ServerTelemetryMetrics = z.output; export declare const serverTelemetryTruncationStageSchema: z.ZodMiniEnum<{ diagnostics_clipped: "diagnostics_clipped"; diagnostics_removed: "diagnostics_removed"; minimal: "minimal"; }>; export type ServerTelemetryTruncationStage = z.output; export declare const serverTelemetryTruncationSchema: z.ZodMiniObject<{ applied: z.ZodMiniLiteral; clippedDiagnosticsKeys: z.ZodMiniOptional>>; droppedDiagnosticsKeys: z.ZodMiniOptional>>; finalEncodedLength: z.ZodMiniNumber; originalEncodedLength: z.ZodMiniNumber; stage: z.ZodMiniEnum<{ diagnostics_clipped: "diagnostics_clipped"; diagnostics_removed: "diagnostics_removed"; minimal: "minimal"; }>; }, z.core.$strip>; export type ServerTelemetryTruncation = z.output; export declare const serverTelemetryEventSchema: z.ZodMiniObject<{ type: z.ZodMiniString; timestamp: z.ZodMiniNumber; source: z.ZodMiniObject<{ runtime: z.ZodMiniEnum<{ core: "core"; tooling: "tooling"; web: "web"; worker: "worker"; }>; subsystem: z.ZodMiniEnum<{ access_control: "access_control"; agent_runner: "agent_runner"; analytics_delivery_cron: "analytics_delivery_cron"; atlas: "atlas"; background_migration: "background_migration"; ci_runner: "ci_runner"; crm_activity: "crm_activity"; delivery: "delivery"; dispatch_cron: "dispatch_cron"; flow_assignment: "flow_assignment"; identity_cron: "identity_cron"; identity_generation: "identity_generation"; revocation: "revocation"; segment_ingest: "segment_ingest"; server_runtime: "server_runtime"; }>; environment: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; project: z.ZodMiniOptional, z.ZodMiniNull]>>; organizationId: z.ZodMiniOptional, z.ZodMiniNull]>>; integrationId: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>>; trace: z.ZodMiniOptional, z.ZodMiniNull]>>; requestId: z.ZodMiniOptional, z.ZodMiniNull]>>; jobKey: z.ZodMiniOptional, z.ZodMiniNull]>>; lockId: z.ZodMiniOptional, z.ZodMiniNull]>>; processInstanceId: z.ZodMiniOptional, z.ZodMiniNull]>>; signalId: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>>; dimensions: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniBoolean, z.ZodMiniNull]>>>; metrics: z.ZodMiniOptional, z.ZodMiniNumber>>; diagnostics: z.ZodMiniOptional, z.ZodMiniUnknown>>; truncation: z.ZodMiniOptional; clippedDiagnosticsKeys: z.ZodMiniOptional>>; droppedDiagnosticsKeys: z.ZodMiniOptional>>; finalEncodedLength: z.ZodMiniNumber; originalEncodedLength: z.ZodMiniNumber; stage: z.ZodMiniEnum<{ diagnostics_clipped: "diagnostics_clipped"; diagnostics_removed: "diagnostics_removed"; minimal: "minimal"; }>; }, z.core.$strip>>; }, z.core.$strip>; export type ServerTelemetryEvent = z.output; export type TelemetryEvent = WidgetTelemetryEvent; export declare const telemetryEnvelopeSchema: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"widget_event">; event: z.ZodMiniObject<{ type: z.ZodMiniString; timestamp: z.ZodMiniNumber; apiKey: z.ZodMiniString; debug: z.ZodMiniBoolean; identities: z.ZodMiniArray, z.ZodMiniTransform<"anonymousId" | "context.device.advertisingId" | "context.device.id" | "context.device.token" | "traits.email" | "traits.phone" | "userId", string>>; value: z.ZodMiniString; }, z.core.$strip>>; context: z.ZodMiniObject<{ page: z.ZodMiniObject<{ path: z.ZodMiniOptional, z.ZodMiniNull]>>; referrer: z.ZodMiniOptional, z.ZodMiniNull]>>; search: z.ZodMiniOptional, z.ZodMiniNull]>>; origin: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; widgetVersion: z.ZodMiniString; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>; properties: z.ZodMiniOptional, z.ZodMiniUnknown>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"server_event">; event: z.ZodMiniObject<{ type: z.ZodMiniString; timestamp: z.ZodMiniNumber; source: z.ZodMiniObject<{ runtime: z.ZodMiniEnum<{ core: "core"; tooling: "tooling"; web: "web"; worker: "worker"; }>; subsystem: z.ZodMiniEnum<{ access_control: "access_control"; agent_runner: "agent_runner"; analytics_delivery_cron: "analytics_delivery_cron"; atlas: "atlas"; background_migration: "background_migration"; ci_runner: "ci_runner"; crm_activity: "crm_activity"; delivery: "delivery"; dispatch_cron: "dispatch_cron"; flow_assignment: "flow_assignment"; identity_cron: "identity_cron"; identity_generation: "identity_generation"; revocation: "revocation"; segment_ingest: "segment_ingest"; server_runtime: "server_runtime"; }>; environment: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>; project: z.ZodMiniOptional, z.ZodMiniNull]>>; organizationId: z.ZodMiniOptional, z.ZodMiniNull]>>; integrationId: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>>; trace: z.ZodMiniOptional, z.ZodMiniNull]>>; requestId: z.ZodMiniOptional, z.ZodMiniNull]>>; jobKey: z.ZodMiniOptional, z.ZodMiniNull]>>; lockId: z.ZodMiniOptional, z.ZodMiniNull]>>; processInstanceId: z.ZodMiniOptional, z.ZodMiniNull]>>; signalId: z.ZodMiniOptional, z.ZodMiniNull]>>; }, z.core.$strip>>; dimensions: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniNumber, z.ZodMiniBoolean, z.ZodMiniNull]>>>; metrics: z.ZodMiniOptional, z.ZodMiniNumber>>; diagnostics: z.ZodMiniOptional, z.ZodMiniUnknown>>; truncation: z.ZodMiniOptional; clippedDiagnosticsKeys: z.ZodMiniOptional>>; droppedDiagnosticsKeys: z.ZodMiniOptional>>; finalEncodedLength: z.ZodMiniNumber; originalEncodedLength: z.ZodMiniNumber; stage: z.ZodMiniEnum<{ diagnostics_clipped: "diagnostics_clipped"; diagnostics_removed: "diagnostics_removed"; minimal: "minimal"; }>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"error">; event: z.ZodMiniObject<{ id: z.ZodMiniString; name: z.ZodMiniString; message: z.ZodMiniString; stack: z.ZodMiniOptional>; category: z.ZodMiniEnum<{ HOST: "HOST"; INTERNAL: "INTERNAL"; INVALID_USAGE: "INVALID_USAGE"; }>; timestamp: z.ZodMiniNumber; probability: z.ZodMiniOptional>; context: z.ZodMiniObject<{ widgetVersion: z.ZodMiniString; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; debug: z.ZodMiniOptional>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>], "kind">; export type TelemetryEnvelope = z.output; export type TelemetryEnvelopeKind = TelemetryEnvelope["kind"]; export type TelemetryEnvelopeEvent = Extract["event"]; //# sourceMappingURL=telemetry-envelope.d.ts.map