import { z } from "zod/v4"; import { BatchActionType } from "../features/batchAction/types"; import { BatchTableNames } from "../interfaces/tableNames"; export declare const IngestionEvent: z.ZodObject<{ data: z.ZodObject<{ type: z.ZodEnum<{ "trace-create": "trace-create"; "score-create": "score-create"; "event-create": "event-create"; "span-create": "span-create"; "span-update": "span-update"; "generation-create": "generation-create"; "generation-update": "generation-update"; "agent-create": "agent-create"; "tool-create": "tool-create"; "chain-create": "chain-create"; "retriever-create": "retriever-create"; "evaluator-create": "evaluator-create"; "embedding-create": "embedding-create"; "guardrail-create": "guardrail-create"; "sdk-log": "sdk-log"; "dataset-run-item-create": "dataset-run-item-create"; "observation-create": "observation-create"; "observation-update": "observation-update"; }>; eventBodyId: z.ZodString; fileKey: z.ZodOptional; skipS3List: z.ZodOptional; }, z.core.$strip>; authCheck: z.ZodObject<{ validKey: z.ZodLiteral; scope: z.ZodObject<{ projectId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const OtelIngestionEvent: z.ZodObject<{ data: z.ZodObject<{ fileKey: z.ZodString; publicKey: z.ZodOptional; }, z.core.$strip>; authCheck: z.ZodObject<{ validKey: z.ZodLiteral; scope: z.ZodObject<{ projectId: z.ZodString; accessLevel: z.ZodLiteral<"project">; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const BatchExportJobSchema: z.ZodObject<{ projectId: z.ZodString; batchExportId: z.ZodString; }, z.core.$strip>; export declare const TraceQueueEventSchema: z.ZodObject<{ projectId: z.ZodString; traceId: z.ZodString; exactTimestamp: z.ZodOptional; }, z.core.$strip>; export declare const TracesQueueEventSchema: z.ZodObject<{ projectId: z.ZodString; traceIds: z.ZodArray; }, z.core.$strip>; export declare const ScoresQueueEventSchema: z.ZodObject<{ projectId: z.ZodString; scoreIds: z.ZodArray; }, z.core.$strip>; export declare const DatasetQueueEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ deletionType: z.ZodLiteral<"dataset">; projectId: z.ZodString; datasetId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ deletionType: z.ZodLiteral<"dataset-runs">; projectId: z.ZodString; datasetId: z.ZodString; datasetRunIds: z.ZodArray; }, z.core.$strip>]>; export declare const ProjectQueueEventSchema: z.ZodObject<{ projectId: z.ZodString; orgId: z.ZodString; }, z.core.$strip>; export declare const DatasetRunItemUpsertEventSchema: z.ZodObject<{ projectId: z.ZodString; datasetItemId: z.ZodString; traceId: z.ZodString; observationId: z.ZodOptional; }, z.core.$strip>; export declare const EvalExecutionEvent: z.ZodObject<{ projectId: z.ZodString; jobExecutionId: z.ZodString; delay: z.ZodOptional>; }, z.core.$strip>; export declare const PostHogIntegrationProcessingEventSchema: z.ZodObject<{ projectId: z.ZodString; }, z.core.$strip>; export declare const BlobStorageIntegrationProcessingEventSchema: z.ZodObject<{ projectId: z.ZodString; }, z.core.$strip>; export declare const ExperimentCreateEventSchema: z.ZodObject<{ projectId: z.ZodString; datasetId: z.ZodString; runId: z.ZodString; description: z.ZodOptional; }, z.core.$strip>; export declare const DataRetentionProcessingEventSchema: z.ZodObject<{ projectId: z.ZodString; retention: z.ZodNumber; }, z.core.$strip>; export declare const BatchActionProcessingEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ actionId: z.ZodLiteral<"score-delete">; projectId: z.ZodString; query: z.ZodObject<{ filter: z.ZodNullable": ">"; "<": "<"; ">=": ">="; "<=": "<="; }>; value: z.ZodCoercedDate; type: z.ZodLiteral<"datetime">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; type: z.ZodLiteral<"number">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; type: z.ZodLiteral<"stringOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"categoryOptions">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; "all of": "all of"; }>; value: z.ZodArray; type: z.ZodLiteral<"arrayOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stringObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"numberObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; column: z.ZodString; operator: z.ZodEnum<{ "=": "="; "<>": "<>"; }>; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"null">; column: z.ZodString; operator: z.ZodEnum<{ "is null": "is null"; "is not null": "is not null"; }>; value: z.ZodLiteral<"">; }, z.core.$strip>]>>>; orderBy: z.ZodNullable; }, z.core.$strip>>; searchQuery: z.ZodOptional; searchType: z.ZodOptional>>; }, z.core.$strip>; tableName: z.ZodEnum; cutoffCreatedAt: z.ZodDate; targetId: z.ZodOptional; type: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ actionId: z.ZodLiteral<"trace-delete">; projectId: z.ZodString; query: z.ZodObject<{ filter: z.ZodNullable": ">"; "<": "<"; ">=": ">="; "<=": "<="; }>; value: z.ZodCoercedDate; type: z.ZodLiteral<"datetime">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; type: z.ZodLiteral<"number">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; type: z.ZodLiteral<"stringOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"categoryOptions">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; "all of": "all of"; }>; value: z.ZodArray; type: z.ZodLiteral<"arrayOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stringObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"numberObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; column: z.ZodString; operator: z.ZodEnum<{ "=": "="; "<>": "<>"; }>; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"null">; column: z.ZodString; operator: z.ZodEnum<{ "is null": "is null"; "is not null": "is not null"; }>; value: z.ZodLiteral<"">; }, z.core.$strip>]>>>; orderBy: z.ZodNullable; }, z.core.$strip>>; searchQuery: z.ZodOptional; searchType: z.ZodOptional>>; }, z.core.$strip>; tableName: z.ZodEnum; cutoffCreatedAt: z.ZodDate; targetId: z.ZodOptional; type: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ actionId: z.ZodLiteral<"trace-add-to-annotation-queue">; projectId: z.ZodString; query: z.ZodObject<{ filter: z.ZodNullable": ">"; "<": "<"; ">=": ">="; "<=": "<="; }>; value: z.ZodCoercedDate; type: z.ZodLiteral<"datetime">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; type: z.ZodLiteral<"number">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; type: z.ZodLiteral<"stringOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"categoryOptions">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; "all of": "all of"; }>; value: z.ZodArray; type: z.ZodLiteral<"arrayOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stringObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"numberObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; column: z.ZodString; operator: z.ZodEnum<{ "=": "="; "<>": "<>"; }>; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"null">; column: z.ZodString; operator: z.ZodEnum<{ "is null": "is null"; "is not null": "is not null"; }>; value: z.ZodLiteral<"">; }, z.core.$strip>]>>>; orderBy: z.ZodNullable; }, z.core.$strip>>; searchQuery: z.ZodOptional; searchType: z.ZodOptional>>; }, z.core.$strip>; tableName: z.ZodEnum; cutoffCreatedAt: z.ZodDate; targetId: z.ZodOptional; type: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ actionId: z.ZodLiteral<"session-add-to-annotation-queue">; projectId: z.ZodString; query: z.ZodObject<{ filter: z.ZodNullable": ">"; "<": "<"; ">=": ">="; "<=": "<="; }>; value: z.ZodCoercedDate; type: z.ZodLiteral<"datetime">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; type: z.ZodLiteral<"number">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; type: z.ZodLiteral<"stringOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"categoryOptions">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; "all of": "all of"; }>; value: z.ZodArray; type: z.ZodLiteral<"arrayOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stringObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"numberObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; column: z.ZodString; operator: z.ZodEnum<{ "=": "="; "<>": "<>"; }>; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"null">; column: z.ZodString; operator: z.ZodEnum<{ "is null": "is null"; "is not null": "is not null"; }>; value: z.ZodLiteral<"">; }, z.core.$strip>]>>>; orderBy: z.ZodNullable; }, z.core.$strip>>; searchQuery: z.ZodOptional; searchType: z.ZodOptional>>; }, z.core.$strip>; tableName: z.ZodEnum; cutoffCreatedAt: z.ZodDate; targetId: z.ZodOptional; type: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ actionId: z.ZodLiteral<"observation-add-to-annotation-queue">; projectId: z.ZodString; query: z.ZodObject<{ filter: z.ZodNullable": ">"; "<": "<"; ">=": ">="; "<=": "<="; }>; value: z.ZodCoercedDate; type: z.ZodLiteral<"datetime">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; type: z.ZodLiteral<"number">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; type: z.ZodLiteral<"stringOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"categoryOptions">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; "all of": "all of"; }>; value: z.ZodArray; type: z.ZodLiteral<"arrayOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stringObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"numberObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; column: z.ZodString; operator: z.ZodEnum<{ "=": "="; "<>": "<>"; }>; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"null">; column: z.ZodString; operator: z.ZodEnum<{ "is null": "is null"; "is not null": "is not null"; }>; value: z.ZodLiteral<"">; }, z.core.$strip>]>>>; orderBy: z.ZodNullable; }, z.core.$strip>>; searchQuery: z.ZodOptional; searchType: z.ZodOptional>>; }, z.core.$strip>; tableName: z.ZodEnum; cutoffCreatedAt: z.ZodDate; targetId: z.ZodOptional; type: z.ZodEnum; }, z.core.$strip>, z.ZodObject<{ actionId: z.ZodLiteral<"eval-create">; targetObject: z.ZodEnum<{ trace: "trace"; dataset: "dataset"; }>; configId: z.ZodString; projectId: z.ZodString; cutoffCreatedAt: z.ZodDate; query: z.ZodObject<{ filter: z.ZodNullable": ">"; "<": "<"; ">=": ">="; "<=": "<="; }>; value: z.ZodCoercedDate; type: z.ZodLiteral<"datetime">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; type: z.ZodLiteral<"string">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; type: z.ZodLiteral<"number">; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; type: z.ZodLiteral<"stringOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"categoryOptions">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; }>; value: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ column: z.ZodString; operator: z.ZodEnum<{ "any of": "any of"; "none of": "none of"; "all of": "all of"; }>; value: z.ZodArray; type: z.ZodLiteral<"arrayOptions">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stringObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ "=": "="; contains: "contains"; "does not contain": "does not contain"; "starts with": "starts with"; "ends with": "ends with"; }>; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"numberObject">; column: z.ZodString; key: z.ZodString; operator: z.ZodEnum<{ ">": ">"; "<": "<"; ">=": ">="; "<=": "<="; "=": "="; }>; value: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; column: z.ZodString; operator: z.ZodEnum<{ "=": "="; "<>": "<>"; }>; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"null">; column: z.ZodString; operator: z.ZodEnum<{ "is null": "is null"; "is not null": "is not null"; }>; value: z.ZodLiteral<"">; }, z.core.$strip>]>>>; orderBy: z.ZodNullable; }, z.core.$strip>>; searchQuery: z.ZodOptional; searchType: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>]>; export declare const CreateEvalQueueEventSchema: z.ZodUnion<[z.ZodIntersection; }, z.core.$strip>, z.ZodObject<{ configId: z.ZodString; timestamp: z.ZodDate; }, z.core.$strip>>, z.ZodIntersection; }, z.core.$strip>, z.ZodObject<{ timestamp: z.ZodDate; configId: z.ZodString; exactTimestamp: z.ZodOptional; }, z.core.$strip>>]>; export declare const DeadLetterRetryQueueEventSchema: z.ZodObject<{ timestamp: z.ZodDate; }, z.core.$strip>; export declare const WebhookOutboundEnvelopeSchema: z.ZodObject<{ prompt: z.ZodObject<{ id: z.ZodString; name: z.ZodString; version: z.ZodNumber; createdAt: z.ZodDate; updatedAt: z.ZodDate; createdBy: z.ZodString; isActive: z.ZodNullable; type: z.ZodDefault; tags: z.ZodDefault>; labels: z.ZodDefault>; prompt: z.ZodType>; config: z.ZodType>; projectId: z.ZodString; commitMessage: z.ZodNullable; }, z.core.$strip>; action: z.ZodEnum<{ created: "created"; updated: "updated"; deleted: "deleted"; }>; type: z.ZodLiteral<"prompt-version">; }, z.core.$strip>; export declare const WebhookInputSchema: z.ZodObject<{ projectId: z.ZodString; automationId: z.ZodString; executionId: z.ZodString; payload: z.ZodObject<{ prompt: z.ZodObject<{ id: z.ZodString; name: z.ZodString; version: z.ZodNumber; createdAt: z.ZodDate; updatedAt: z.ZodDate; createdBy: z.ZodString; isActive: z.ZodNullable; type: z.ZodDefault; tags: z.ZodDefault>; labels: z.ZodDefault>; prompt: z.ZodType>; config: z.ZodType>; projectId: z.ZodString; commitMessage: z.ZodNullable; }, z.core.$strip>; action: z.ZodEnum<{ created: "created"; updated: "updated"; deleted: "deleted"; }>; type: z.ZodLiteral<"prompt-version">; }, z.core.$strip>; }, z.core.$strip>; export type WebhookInput = z.infer; export declare const EntityChangeEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ entityType: z.ZodLiteral<"prompt-version">; projectId: z.ZodString; promptId: z.ZodString; action: z.ZodEnum<{ created: "created"; updated: "updated"; deleted: "deleted"; }>; prompt: z.ZodObject<{ id: z.ZodString; name: z.ZodString; version: z.ZodNumber; createdAt: z.ZodDate; updatedAt: z.ZodDate; createdBy: z.ZodString; isActive: z.ZodNullable; type: z.ZodDefault; tags: z.ZodDefault>; labels: z.ZodDefault>; prompt: z.ZodType>; config: z.ZodType>; projectId: z.ZodString; commitMessage: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>]>; export type EntityChangeEventType = z.infer; export type CreateEvalQueueEventType = z.infer; export type BatchExportJobType = z.infer; export type TraceQueueEventType = z.infer; export type TracesQueueEventType = z.infer; export type ScoresQueueEventType = z.infer; export type DatasetQueueEventType = z.infer; export type ProjectQueueEventType = z.infer; export type DatasetRunItemUpsertEventType = z.infer; export type EvalExecutionEventType = z.infer; export type IngestionEventQueueType = z.infer; export type OtelIngestionEventQueueType = z.infer; export type ExperimentCreateEventType = z.infer; export type PostHogIntegrationProcessingEventType = z.infer; export type DataRetentionProcessingEventType = z.infer; export type BatchActionProcessingEventType = z.infer; export type BlobStorageIntegrationProcessingEventType = z.infer; export type DeadLetterRetryQueueEventType = z.infer; export type WebhookQueueEventType = z.infer; export declare const RetryBaggage: z.ZodObject<{ originalJobTimestamp: z.ZodDate; attempt: z.ZodNumber; }, z.core.$strip>; export type RetryBaggage = z.infer; export declare enum QueueName { TraceUpsert = "trace-upsert",// Ingestion pipeline adds events on each Trace upsert TraceDelete = "trace-delete", ProjectDelete = "project-delete", EvaluationExecution = "evaluation-execution-queue",// Worker executes Evals DatasetRunItemUpsert = "dataset-run-item-upsert-queue", BatchExport = "batch-export-queue", OtelIngestionQueue = "otel-ingestion-queue", IngestionQueue = "ingestion-queue",// Process single events with S3-merge IngestionSecondaryQueue = "secondary-ingestion-queue",// Separates high priority + high throughput projects from other projects. CloudUsageMeteringQueue = "cloud-usage-metering-queue", ExperimentCreate = "experiment-create-queue", PostHogIntegrationQueue = "posthog-integration-queue", PostHogIntegrationProcessingQueue = "posthog-integration-processing-queue", BlobStorageIntegrationQueue = "blobstorage-integration-queue", BlobStorageIntegrationProcessingQueue = "blobstorage-integration-processing-queue", CoreDataS3ExportQueue = "core-data-s3-export-queue", MeteringDataPostgresExportQueue = "metering-data-postgres-export-queue", DataRetentionQueue = "data-retention-queue", DataRetentionProcessingQueue = "data-retention-processing-queue", BatchActionQueue = "batch-action-queue", CreateEvalQueue = "create-eval-queue", ScoreDelete = "score-delete", DatasetDelete = "dataset-delete-queue", DeadLetterRetryQueue = "dead-letter-retry-queue", WebhookQueue = "webhook-queue", EntityChangeQueue = "entity-change-queue" } export declare enum QueueJobs { TraceUpsert = "trace-upsert", TraceDelete = "trace-delete", ProjectDelete = "project-delete", DatasetRunItemUpsert = "dataset-run-item-upsert", EvaluationExecution = "evaluation-execution-job", BatchExportJob = "batch-export-job", CloudUsageMeteringJob = "cloud-usage-metering-job", OtelIngestionJob = "otel-ingestion-job", IngestionJob = "ingestion-job", IngestionSecondaryJob = "secondary-ingestion-job", ExperimentCreateJob = "experiment-create-job", PostHogIntegrationJob = "posthog-integration-job", PostHogIntegrationProcessingJob = "posthog-integration-processing-job", BlobStorageIntegrationJob = "blobstorage-integration-job", BlobStorageIntegrationProcessingJob = "blobstorage-integration-processing-job", CoreDataS3ExportJob = "core-data-s3-export-job", MeteringDataPostgresExportJob = "metering-data-postgres-export-job", DataRetentionJob = "data-retention-job", DataRetentionProcessingJob = "data-retention-processing-job", BatchActionProcessingJob = "batch-action-processing-job", CreateEvalJob = "create-eval-job", ScoreDelete = "score-delete", DatasetDelete = "dataset-delete-job", DeadLetterRetryJob = "dead-letter-retry-job", WebhookJob = "webhook-job", EntityChangeJob = "entity-change-job" } export type TQueueJobTypes = { [QueueName.TraceUpsert]: { timestamp: Date; id: string; payload: TraceQueueEventType; name: QueueJobs.TraceUpsert; }; [QueueName.TraceDelete]: { timestamp: Date; id: string; payload: TracesQueueEventType | TraceQueueEventType; name: QueueJobs.TraceDelete; }; [QueueName.ScoreDelete]: { timestamp: Date; id: string; payload: ScoresQueueEventType; name: QueueJobs.ScoreDelete; }; [QueueName.DatasetDelete]: { timestamp: Date; id: string; payload: DatasetQueueEventType; name: QueueJobs.DatasetDelete; }; [QueueName.ProjectDelete]: { timestamp: Date; id: string; payload: ProjectQueueEventType; name: QueueJobs.ProjectDelete; }; [QueueName.DatasetRunItemUpsert]: { timestamp: Date; id: string; payload: DatasetRunItemUpsertEventType; name: QueueJobs.DatasetRunItemUpsert; }; [QueueName.EvaluationExecution]: { timestamp: Date; id: string; payload: EvalExecutionEventType; name: QueueJobs.EvaluationExecution; retryBaggage?: RetryBaggage; }; [QueueName.BatchExport]: { timestamp: Date; id: string; payload: BatchExportJobType; name: QueueJobs.BatchExportJob; }; [QueueName.OtelIngestionQueue]: { timestamp: Date; id: string; payload: OtelIngestionEventQueueType; name: QueueJobs.OtelIngestionJob; }; [QueueName.IngestionQueue]: { timestamp: Date; id: string; payload: IngestionEventQueueType; name: QueueJobs.IngestionJob; }; [QueueName.IngestionSecondaryQueue]: { timestamp: Date; id: string; payload: IngestionEventQueueType; name: QueueJobs.IngestionJob; }; [QueueName.ExperimentCreate]: { timestamp: Date; id: string; payload: ExperimentCreateEventType; name: QueueJobs.ExperimentCreateJob; retryBaggage?: RetryBaggage; }; [QueueName.PostHogIntegrationProcessingQueue]: { timestamp: Date; id: string; payload: PostHogIntegrationProcessingEventType; name: QueueJobs.PostHogIntegrationProcessingJob; }; [QueueName.DataRetentionProcessingQueue]: { timestamp: Date; id: string; payload: DataRetentionProcessingEventType; name: QueueJobs.DataRetentionProcessingJob; }; [QueueName.BatchActionQueue]: { timestamp: Date; id: string; payload: BatchActionProcessingEventType; name: QueueJobs.BatchActionProcessingJob; }; [QueueName.CreateEvalQueue]: { timestamp: Date; id: string; payload: CreateEvalQueueEventType; name: QueueJobs.CreateEvalJob; }; [QueueName.BlobStorageIntegrationProcessingQueue]: { timestamp: Date; id: string; payload: BlobStorageIntegrationProcessingEventType; name: QueueJobs.BlobStorageIntegrationProcessingJob; }; [QueueName.DeadLetterRetryQueue]: { timestamp: Date; id: string; payload: DeadLetterRetryQueueEventType; name: QueueJobs.DeadLetterRetryJob; }; [QueueName.WebhookQueue]: { timestamp: Date; id: string; payload: WebhookInput; name: QueueJobs.WebhookJob; }; [QueueName.EntityChangeQueue]: { timestamp: Date; id: string; payload: EntityChangeEventType; name: QueueJobs.EntityChangeJob; }; }; //# sourceMappingURL=queues.d.ts.map