import { z } from 'zod/v4'; export declare const ManagerEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"completion">; taskName: z.ZodString; runSlug: z.ZodString; result: z.ZodObject<{ success: z.ZodBoolean; interrupted: z.ZodBoolean; branch: z.ZodOptional; sha: z.ZodOptional; shaUnavailableReason: z.ZodOptional; failureReason: z.ZodOptional; workflowResult: z.ZodOptional>; }, z.core.$strict>; goalId: z.ZodUUID; createdAt: z.ZodISODateTime; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"answer">; questionId: z.ZodUUID; answer: z.ZodPipe; answeredAt: z.ZodISODateTime; text: z.ZodDefault; decision: z.ZodOptional>; report: z.ZodOptional>; scope: z.ZodOptional>; }, z.core.$strict>, z.ZodTransform<{ source: "slack" | "tui"; answeredAt: string; text: string; decision?: "allow" | "deny" | undefined; report?: "completed" | "unable" | undefined; scope?: "project" | "global" | "once" | "goal" | "workspace" | undefined; }, { source: "slack" | "tui"; answeredAt: string; text: string; decision?: "allow" | "deny" | undefined; report?: "completed" | "unable" | undefined; scope?: "project" | "global" | "once" | "goal" | "workspace" | undefined; }>>; goalId: z.ZodUUID; createdAt: z.ZodISODateTime; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"registered">; goalId: z.ZodUUID; createdAt: z.ZodISODateTime; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"resumed">; goalId: z.ZodUUID; createdAt: z.ZodISODateTime; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"patrol">; goalId: z.ZodUUID; createdAt: z.ZodISODateTime; }, z.core.$strict>], "kind">; export type ManagerEvent = z.infer; export type ManagerEventInput = ManagerEvent extends infer Event ? Event extends ManagerEvent ? Omit : never : never; export interface SavedManagerEvent { filePath: string; event: ManagerEvent; } export declare function saveManagerEvent(cwd: string, input: ManagerEventInput): void; export declare function readManagerEvents(cwd: string): SavedManagerEvent[]; export declare function deleteManagerEvent(saved: SavedManagerEvent): void; export declare function deleteGoalEvents(cwd: string, goalId: string): void; //# sourceMappingURL=events.d.ts.map