import { z } from "zod/v4"; /** * The lifecycle state of an error group. Mirrors the dashboard's * `ErrorGroupState.status` (`UNRESOLVED | RESOLVED | IGNORED`) but is exposed * lowercase over the API, matching the `filter[status]` query value. */ export declare const ErrorGroupStatus: z.ZodEnum<{ ignored: "ignored"; resolved: "resolved"; unresolved: "unresolved"; }>; export type ErrorGroupStatus = z.infer; /** * A single error group as returned by the list endpoint. `count` is the number * of occurrences within the requested time range; `firstSeen`/`lastSeen` are * the group's global first/last occurrence. */ export declare const ErrorGroupListItem: z.ZodObject<{ id: z.ZodString; fingerprint: z.ZodString; taskIdentifier: z.ZodString; errorType: z.ZodString; errorMessage: z.ZodString; status: z.ZodEnum<{ ignored: "ignored"; resolved: "resolved"; unresolved: "unresolved"; }>; count: z.ZodNumber; firstSeen: z.ZodCoercedDate; lastSeen: z.ZodCoercedDate; resolvedAt: z.ZodNullable>; ignoredUntil: z.ZodNullable>; }, z.core.$strip>; export type ErrorGroupListItem = z.infer; export declare const ListErrorsResponse: z.ZodObject<{ data: z.ZodArray; count: z.ZodNumber; firstSeen: z.ZodCoercedDate; lastSeen: z.ZodCoercedDate; resolvedAt: z.ZodNullable>; ignoredUntil: z.ZodNullable>; }, z.core.$strip>>; pagination: z.ZodObject<{ next: z.ZodOptional; previous: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export type ListErrorsResponse = z.infer; /** * The full detail for a single error group: summary fields, the affected task * versions (most recent five), and the complete lifecycle state. */ export declare const ErrorGroupDetail: z.ZodObject<{ id: z.ZodString; fingerprint: z.ZodString; taskIdentifier: z.ZodString; errorType: z.ZodString; errorMessage: z.ZodString; count: z.ZodNumber; firstSeen: z.ZodCoercedDate; lastSeen: z.ZodCoercedDate; affectedVersions: z.ZodArray; status: z.ZodEnum<{ ignored: "ignored"; resolved: "resolved"; unresolved: "unresolved"; }>; resolvedAt: z.ZodNullable>; resolvedInVersion: z.ZodNullable; resolvedBy: z.ZodNullable; ignoredAt: z.ZodNullable>; ignoredUntil: z.ZodNullable>; ignoredReason: z.ZodNullable; ignoredByUserId: z.ZodNullable; ignoredUntilOccurrenceRate: z.ZodNullable; ignoredUntilTotalOccurrences: z.ZodNullable; }, z.core.$strip>; export type ErrorGroupDetail = z.infer; export declare const ResolveErrorRequestBody: z.ZodObject<{ resolvedInVersion: z.ZodOptional; }, z.core.$strip>; export type ResolveErrorRequestBody = z.infer; export declare const IgnoreErrorRequestBody: z.ZodObject<{ duration: z.ZodOptional; occurrenceRate: z.ZodOptional; totalOccurrences: z.ZodOptional; reason: z.ZodOptional; }, z.core.$strip>; export type IgnoreErrorRequestBody = z.infer;