import { z } from 'zod'; export declare const spanStatusSchema: z.ZodObject<{ code: z.ZodEnum<["OK", "ERROR", "UNSET"]>; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }>; export declare const spanAttributesSchema: z.ZodDefault>; export declare const spanSchema: z.ZodObject<{ id: z.ZodString; kind: z.ZodEnum<["SPAN", "LOG"]>; traceId: z.ZodString; parentId: z.ZodNullable; name: z.ZodString; startTime: z.ZodNumber; endTime: z.ZodNumber; status: z.ZodObject<{ code: z.ZodEnum<["OK", "ERROR", "UNSET"]>; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }>; attributes: z.ZodDefault>; projectId: z.ZodOptional; isPartial: z.ZodDefault; isRealTime: z.ZodDefault; }, "strip", z.ZodTypeAny, { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes: Record; isPartial: boolean; isRealTime: boolean; projectId?: string | undefined; }, { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes?: Record | undefined; projectId?: string | undefined; isPartial?: boolean | undefined; isRealTime?: boolean | undefined; }>; export declare const spansArraySchema: z.ZodObject<{ spans: z.ZodArray; traceId: z.ZodString; parentId: z.ZodNullable; name: z.ZodString; startTime: z.ZodNumber; endTime: z.ZodNumber; status: z.ZodObject<{ code: z.ZodEnum<["OK", "ERROR", "UNSET"]>; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }>; attributes: z.ZodDefault>; projectId: z.ZodOptional; isPartial: z.ZodDefault; isRealTime: z.ZodDefault; }, "strip", z.ZodTypeAny, { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes: Record; isPartial: boolean; isRealTime: boolean; projectId?: string | undefined; }, { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes?: Record | undefined; projectId?: string | undefined; isPartial?: boolean | undefined; isRealTime?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { spans: { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes: Record; isPartial: boolean; isRealTime: boolean; projectId?: string | undefined; }[]; }, { spans: { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes?: Record | undefined; projectId?: string | undefined; isPartial?: boolean | undefined; isRealTime?: boolean | undefined; }[]; }>; export declare const traceSchema: z.ZodObject<{ traceId: z.ZodString; spans: z.ZodArray; traceId: z.ZodString; parentId: z.ZodNullable; name: z.ZodString; startTime: z.ZodNumber; endTime: z.ZodNumber; status: z.ZodObject<{ code: z.ZodEnum<["OK", "ERROR", "UNSET"]>; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }, { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }>; attributes: z.ZodDefault>; projectId: z.ZodOptional; isPartial: z.ZodDefault; isRealTime: z.ZodDefault; }, "strip", z.ZodTypeAny, { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes: Record; isPartial: boolean; isRealTime: boolean; projectId?: string | undefined; }, { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes?: Record | undefined; projectId?: string | undefined; isPartial?: boolean | undefined; isRealTime?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { traceId: string; spans: { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes: Record; isPartial: boolean; isRealTime: boolean; projectId?: string | undefined; }[]; }, { traceId: string; spans: { status: { code: "OK" | "ERROR" | "UNSET"; message?: string | undefined; }; id: string; kind: "SPAN" | "LOG"; traceId: string; parentId: string | null; name: string; startTime: number; endTime: number; attributes?: Record | undefined; projectId?: string | undefined; isPartial?: boolean | undefined; isRealTime?: boolean | undefined; }[]; }>; export declare const searchFiltersSchema: z.ZodObject<{ search: z.ZodOptional; startDate: z.ZodOptional; endDate: z.ZodOptional; status: z.ZodOptional>; page: z.ZodDefault; limit: z.ZodDefault; projectId: z.ZodOptional; }, "strip", z.ZodTypeAny, { page: number; limit: number; status?: "success" | "error" | "warning" | "exception" | "running" | undefined; projectId?: string | undefined; search?: string | undefined; startDate?: number | undefined; endDate?: number | undefined; }, { status?: "success" | "error" | "warning" | "exception" | "running" | undefined; projectId?: string | undefined; search?: string | undefined; startDate?: number | undefined; endDate?: number | undefined; page?: number | undefined; limit?: number | undefined; }>; export declare const paginatedResultSchema: (dataSchema: T) => z.ZodObject<{ data: z.ZodArray; pagination: z.ZodObject<{ page: z.ZodNumber; limit: z.ZodNumber; total: z.ZodNumber; totalPages: z.ZodNumber; hasNext: z.ZodBoolean; hasPrev: z.ZodBoolean; }, "strip", z.ZodTypeAny, { page: number; limit: number; total: number; totalPages: number; hasNext: boolean; hasPrev: boolean; }, { page: number; limit: number; total: number; totalPages: number; hasNext: boolean; hasPrev: boolean; }>; }, "strip", z.ZodTypeAny, { data: T["_output"][]; pagination: { page: number; limit: number; total: number; totalPages: number; hasNext: boolean; hasPrev: boolean; }; }, { data: T["_input"][]; pagination: { page: number; limit: number; total: number; totalPages: number; hasNext: boolean; hasPrev: boolean; }; }>; export type SpanStatus = z.infer; export type OtelSpan = z.infer; export type SpansArray = z.infer; export type Trace = z.infer; export type SearchFilters = z.infer; export type PaginatedResult = { data: T[]; pagination: { page: number; limit: number; total: number; totalPages: number; hasNext: boolean; hasPrev: boolean; }; }; export interface SpanAttributeValue { dataType?: string; data?: any; [key: string]: any; } //# sourceMappingURL=schemas.d.ts.map