import { z } from 'zod'; export declare const automationEventSchema: z.ZodEnum<{ "issue.labeled": "issue.labeled"; "issue.opened": "issue.opened"; "issue.unlabeled": "issue.unlabeled"; "pull_request.opened": "pull_request.opened"; }>; export declare const automationFiltersSchema: z.ZodObject<{ authors: z.ZodOptional>; assignees: z.ZodOptional>; allLabels: z.ZodOptional>; anyLabels: z.ZodOptional>; excludeLabels: z.ZodOptional>; changedLabels: z.ZodOptional>; lookbackDays: z.ZodDefault; maxRecords: z.ZodDefault; }, z.core.$loose>; export declare const automationTaskSchema: z.ZodObject<{ prompt: z.ZodString; workflow: z.ZodOptional; steps: z.ZodOptional; prompt: z.ZodOptional; skill: z.ZodOptional; model: z.ZodOptional; runner: z.ZodOptional>; allowedTools: z.ZodOptional>; bashAllowlist: z.ZodOptional>; command: z.ZodOptional; onFail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; runner: z.ZodOptional>; model: z.ZodOptional; variants: z.ZodOptional, z.ZodLiteral<2>, z.ZodLiteral<3>]>>; worktree: z.ZodOptional; generateFollowups: z.ZodOptional; autonomous: z.ZodOptional; systemPrompt: z.ZodOptional; }, z.core.$loose>; export declare const automationDefinitionSchema: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodOptional; enabled: z.ZodDefault; events: z.ZodArray>; intervalSeconds: z.ZodDefault; filters: z.ZodObject<{ authors: z.ZodOptional>; assignees: z.ZodOptional>; allLabels: z.ZodOptional>; anyLabels: z.ZodOptional>; excludeLabels: z.ZodOptional>; changedLabels: z.ZodOptional>; lookbackDays: z.ZodDefault; maxRecords: z.ZodDefault; }, z.core.$loose>; task: z.ZodObject<{ prompt: z.ZodString; workflow: z.ZodOptional; steps: z.ZodOptional; prompt: z.ZodOptional; skill: z.ZodOptional; model: z.ZodOptional; runner: z.ZodOptional>; allowedTools: z.ZodOptional>; bashAllowlist: z.ZodOptional>; command: z.ZodOptional; onFail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; runner: z.ZodOptional>; model: z.ZodOptional; variants: z.ZodOptional, z.ZodLiteral<2>, z.ZodLiteral<3>]>>; worktree: z.ZodOptional; generateFollowups: z.ZodOptional; autonomous: z.ZodOptional; systemPrompt: z.ZodOptional; }, z.core.$loose>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$loose>; export declare const automationDefinitionsFileSchema: z.ZodObject<{ version: z.ZodDefault>; automations: z.ZodDefault>; tombstones: z.ZodOptional>; }, z.core.$loose>; export declare const automationCursorSchema: z.ZodObject<{ timestamp: z.ZodString; tieBreaker: z.ZodOptional; }, z.core.$loose>; export declare const automationRuntimeStateSchema: z.ZodObject<{ revision: z.ZodOptional; baselineAt: z.ZodOptional; cursor: z.ZodOptional; }, z.core.$loose>>; frozenHighWatermark: z.ZodOptional>; backlogAfter: z.ZodOptional>; nextCheckAt: z.ZodOptional; lastSuccessAt: z.ZodOptional; etags: z.ZodOptional>; backoffUntil: z.ZodOptional; consecutiveFailures: z.ZodOptional; }, z.core.$loose>; export declare const automationStateFileSchema: z.ZodObject<{ version: z.ZodDefault>; states: z.ZodDefault; baselineAt: z.ZodOptional; cursor: z.ZodOptional; }, z.core.$loose>>; frozenHighWatermark: z.ZodOptional>; backlogAfter: z.ZodOptional>; nextCheckAt: z.ZodOptional; lastSuccessAt: z.ZodOptional; etags: z.ZodOptional>; backoffUntil: z.ZodOptional; consecutiveFailures: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>; export declare const automationReceiptSchema: z.ZodObject<{ receiptId: z.ZodString; receiptKey: z.ZodString; eventId: z.ZodString; automationId: z.ZodString; revision: z.ZodNumber; status: z.ZodEnum<{ "launch-error": "launch-error"; launched: "launched"; reserved: "reserved"; }>; runId: z.ZodOptional; observedAt: z.ZodString; updatedAt: z.ZodString; error: z.ZodOptional; candidate: z.ZodOptional; timestamp: z.ZodString; tieBreaker: z.ZodString; repo: z.ZodString; nodeId: z.ZodString; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; author: z.ZodString; assignees: z.ZodArray; labels: z.ZodArray; changedLabel: z.ZodOptional; }, z.core.$loose>>; }, z.core.$loose>; export declare const automationLogResultSchema: z.ZodEnum<{ baseline: "baseline"; duplicate: "duplicate"; error: "error"; launched: "launched"; "no-match": "no-match"; preview: "preview"; "rate-limited": "rate-limited"; }>; export declare const automationLogRecordSchema: z.ZodObject<{ seq: z.ZodNumber; ts: z.ZodString; automationId: z.ZodString; revision: z.ZodNumber; event: z.ZodOptional>; result: z.ZodEnum<{ baseline: "baseline"; duplicate: "duplicate"; error: "error"; launched: "launched"; "no-match": "no-match"; preview: "preview"; "rate-limited": "rate-limited"; }>; reason: z.ZodOptional; durationMs: z.ZodOptional; receiptId: z.ZodOptional; runId: z.ZodOptional; githubNumber: z.ZodOptional; githubTitle: z.ZodOptional; githubUrl: z.ZodOptional; rateLimit: z.ZodOptional; remaining: z.ZodOptional; resetAt: z.ZodOptional; }, z.core.$loose>>; }, z.core.$loose>; export type AutomationEvent = z.infer; export type AutomationDefinition = z.infer; export type AutomationRuntimeState = z.infer; export type AutomationReceipt = z.infer; export type AutomationLogRecord = z.infer;