import * as z from "zod/mini"; import { type Generation } from "./v3-generation.js"; declare const recoveryRetryOperationSchema: z.ZodMiniEnum<{ close: "close"; configure: "configure"; init: "init"; prefetch: "prefetch"; prerender: "prerender"; }>; declare const recoveryRetryReasonSchema: z.ZodMiniEnum<{ network: "network"; timeout: "timeout"; unknown: "unknown"; }>; declare const recoveryRetryHintSchema: z.ZodMiniObject<{ operation: z.ZodMiniEnum<{ close: "close"; configure: "configure"; init: "init"; prefetch: "prefetch"; prerender: "prerender"; }>; policy: z.ZodMiniOptional>; backoffMs: z.ZodMiniOptional>; }, z.core.$strip>>; reason: z.ZodMiniOptional>; }, z.core.$strip>; export declare const recoveryHintSchema: z.ZodMiniObject<{ resetViewState: z.ZodMiniOptional>; retry: z.ZodMiniOptional; policy: z.ZodMiniOptional>; backoffMs: z.ZodMiniOptional>; }, z.core.$strip>>; reason: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>; /** Loader → Core: Error notification */ export declare const eventErrorSchema: z.ZodMiniObject<{ gen: z.core.$ZodBranded, "Generation", "out">; viewId: z.ZodMiniOptional>; t: z.ZodMiniLiteral<"getuserfeedback:event:error">; code: z.ZodMiniString; instanceId: z.ZodMiniOptional>; details: z.ZodMiniOptional; recovery: z.ZodMiniOptional>; retry: z.ZodMiniOptional; policy: z.ZodMiniOptional>; backoffMs: z.ZodMiniOptional>; }, z.core.$strip>>; reason: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export type RecoveryRetryOperation = z.output; export type RecoveryRetryReason = z.output; export type RecoveryRetryHint = z.output; export type RecoveryHint = z.output; export type EventError = z.output; export declare function buildEventError(params: { gen: number | Generation; code: string; instanceId?: string; details?: unknown; recovery?: RecoveryHint; }): EventError; export declare function isEventError(msg: unknown): msg is EventError; export {}; //# sourceMappingURL=v3-error-events.d.ts.map