import z from "zod/v4"; export declare const ObservationType: { readonly SPAN: "SPAN"; readonly EVENT: "EVENT"; readonly GENERATION: "GENERATION"; readonly AGENT: "AGENT"; readonly TOOL: "TOOL"; readonly CHAIN: "CHAIN"; readonly RETRIEVER: "RETRIEVER"; readonly EVALUATOR: "EVALUATOR"; readonly EMBEDDING: "EMBEDDING"; readonly GUARDRAIL: "GUARDRAIL"; }; export declare const ObservationTypeDomain: z.ZodEnum<{ SPAN: "SPAN"; EVENT: "EVENT"; GENERATION: "GENERATION"; AGENT: "AGENT"; TOOL: "TOOL"; CHAIN: "CHAIN"; RETRIEVER: "RETRIEVER"; EVALUATOR: "EVALUATOR"; EMBEDDING: "EMBEDDING"; GUARDRAIL: "GUARDRAIL"; }>; export type ObservationType = z.infer; export declare const ObservationLevel: { readonly DEBUG: "DEBUG"; readonly DEFAULT: "DEFAULT"; readonly WARNING: "WARNING"; readonly ERROR: "ERROR"; }; export declare const ObservationLevelDomain: z.ZodEnum<{ DEBUG: "DEBUG"; DEFAULT: "DEFAULT"; WARNING: "WARNING"; ERROR: "ERROR"; }>; export type ObservationLevelType = z.infer; export declare const ObservationDomain: z.ZodObject<{ id: z.ZodString; name: z.ZodString; timestamp: z.ZodDate; environment: z.ZodString; tags: z.ZodArray; }, z.core.$strip>; export type ObservationDomain = z.infer; export declare const ObservationSchema: z.ZodObject<{ id: z.ZodString; traceId: z.ZodNullable; projectId: z.ZodString; environment: z.ZodString; type: z.ZodEnum<{ SPAN: "SPAN"; EVENT: "EVENT"; GENERATION: "GENERATION"; AGENT: "AGENT"; TOOL: "TOOL"; CHAIN: "CHAIN"; RETRIEVER: "RETRIEVER"; EVALUATOR: "EVALUATOR"; EMBEDDING: "EMBEDDING"; GUARDRAIL: "GUARDRAIL"; }>; startTime: z.ZodDate; endTime: z.ZodNullable; name: z.ZodNullable; metadata: z.ZodRecord>, z.ZodUndefined]>>; parentObservationId: z.ZodNullable; level: z.ZodEnum<{ DEBUG: "DEBUG"; DEFAULT: "DEFAULT"; WARNING: "WARNING"; ERROR: "ERROR"; }>; statusMessage: z.ZodNullable; version: z.ZodNullable; createdAt: z.ZodDate; updatedAt: z.ZodDate; model: z.ZodNullable; internalModelId: z.ZodNullable; modelParameters: z.ZodNullable>>; input: z.ZodNullable>>; output: z.ZodNullable>>; completionStartTime: z.ZodNullable; promptId: z.ZodNullable; promptName: z.ZodNullable; promptVersion: z.ZodNullable; latency: z.ZodNullable; timeToFirstToken: z.ZodNullable; usageDetails: z.ZodRecord; costDetails: z.ZodRecord; providedCostDetails: z.ZodRecord; inputCost: z.ZodNullable; outputCost: z.ZodNullable; totalCost: z.ZodNullable; inputUsage: z.ZodNumber; outputUsage: z.ZodNumber; totalUsage: z.ZodNumber; }, z.core.$strip>; export type Observation = z.infer; /** * Returns true if an observation type is generation-like, meaning it could include LLM calls * and potentially has similar input/output fields. */ export declare const GenerationLikeObservationTypes: readonly ["GENERATION", "AGENT", "TOOL", "CHAIN", "RETRIEVER", "EVALUATOR", "EMBEDDING", "GUARDRAIL"]; export declare const isGenerationLike: (observationType: ObservationType) => boolean; /** * Returns all generation-like observation types for use in filters and queries. */ export declare const getGenerationLikeTypes: () => ObservationType[]; //# sourceMappingURL=observations.d.ts.map