import * as z from "zod/mini"; import { type Generation } from "./v3-generation.js"; export declare const eventViewPrerenderedSchema: z.ZodMiniObject<{ gen: z.core.$ZodBranded, "Generation", "out">; viewId: z.ZodMiniString; t: z.ZodMiniLiteral<"getuserfeedback:event:viewPrerendered">; }, z.core.$strict>; export type EventViewPrerendered = z.output; export declare const eventViewActivatedSchema: z.ZodMiniObject<{ gen: z.core.$ZodBranded, "Generation", "out">; viewId: z.ZodMiniString; t: z.ZodMiniLiteral<"getuserfeedback:event:viewActivated">; }, z.core.$strict>; export type EventViewActivated = z.output; export declare const eventViewClosedSchema: z.ZodMiniObject<{ gen: z.core.$ZodBranded, "Generation", "out">; viewId: z.ZodMiniString; t: z.ZodMiniLiteral<"getuserfeedback:event:viewClosed">; reason: z.ZodMiniOptional>; lifetimeMs: z.ZodMiniOptional>; }, z.core.$strict>; export type EventViewClosed = z.output; export declare const eventViewAllocationFailedSchema: z.ZodMiniObject<{ gen: z.core.$ZodBranded, "Generation", "out">; viewId: z.ZodMiniString; t: z.ZodMiniLiteral<"getuserfeedback:event:viewAllocationFailed">; flowRunId: z.ZodMiniString; }, z.core.$strict>; export type EventViewAllocationFailed = z.output; export declare const eventViewCloseFailedSchema: z.ZodMiniObject<{ gen: z.core.$ZodBranded, "Generation", "out">; viewId: z.ZodMiniString; t: z.ZodMiniLiteral<"getuserfeedback:event:viewCloseFailed">; closeAttemptId: z.ZodMiniString; reason: z.ZodMiniEnum<{ "close-failed": "close-failed"; "unknown-occurrence": "unknown-occurrence"; }>; message: z.ZodMiniOptional>; }, z.core.$strict>; export type EventViewCloseFailed = z.output; export declare function buildEventViewPrerendered(input: { gen: number | Generation; viewId: string; }): EventViewPrerendered; export declare function buildEventViewActivated(input: { gen: number | Generation; viewId: string; }): EventViewActivated; export declare function buildEventViewClosed(input: { gen: number | Generation; viewId: string; reason?: "user" | "error" | "timeout" | "unknown"; lifetimeMs?: number; }): EventViewClosed; export declare function buildEventViewAllocationFailed(input: { gen: number | Generation; viewId: string; flowRunId: string; }): EventViewAllocationFailed; export declare function buildEventViewCloseFailed(input: { gen: number | Generation; viewId: string; closeAttemptId: string; reason: EventViewCloseFailed["reason"]; message?: string; }): EventViewCloseFailed; //# sourceMappingURL=view-host-lifecycle-events.d.ts.map