import { z } from "zod"; export declare const NoticeCodeSchema: z.ZodObject<{ code: z.ZodString; params: z.ZodOptional>>; }, z.core.$strip>; export type NoticeCode = z.infer; export interface FailureSaid { readonly message: string; readonly error?: string | undefined; readonly own?: boolean | undefined; } declare const ResumeNoticeReasonSchema: z.ZodEnum<{ auth: "auth"; carried: "carried"; continued: "continued"; door: "door"; flagged: "flagged"; limit: "limit"; outage: "outage"; overflow: "overflow"; refused: "refused"; restart: "restart"; stopped: "stopped"; summarized: "summarized"; switched: "switched"; trimmed: "trimmed"; }>; export type ResumeNoticeReason = z.infer; export declare const SandboxNoticeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"compacted">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stopped">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"synced">; params: z.ZodObject<{ commits: z.ZodNumber; blocked: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"intoParent">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"intoParentClash">; params: z.ZodObject<{ files: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"landHeld">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"landConflict">; params: z.ZodObject<{ files: z.ZodNumber; repos: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"landed">; params: z.ZodOptional; queued: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"retrying">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; attempt: z.ZodNumber; of: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"retried">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; made: z.ZodNumber; of: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"outageWaiting">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"renewing">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"renewalWithdrawn">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"reconnect">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"undelivered">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; unattended: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stoppedPartway">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; switchModel: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"kept">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; memory: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"memoryHeld">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"failed">; params: z.ZodObject<{ message: z.ZodString; error: z.ZodOptional; own: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"questionDismissed">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"planApproved">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"keptPlanning">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"watching">; params: z.ZodObject<{ note: z.ZodString; every: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"restartInterrupted">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"keptWarm">; params: z.ZodObject<{ tokens: z.ZodString; span: z.ZodString; refreshes: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"keptCold">; params: z.ZodObject<{ tokens: z.ZodString; span: z.ZodString; refreshes: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"contextTrim">; params: z.ZodObject<{ window: z.ZodString; omitted: z.ZodOptional; base: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"resumed">; params: z.ZodObject<{ reason: z.ZodEnum<{ auth: "auth"; carried: "carried"; continued: "continued"; door: "door"; flagged: "flagged"; limit: "limit"; outage: "outage"; overflow: "overflow"; refused: "refused"; restart: "restart"; stopped: "stopped"; summarized: "summarized"; switched: "switched"; trimmed: "trimmed"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"handedOff">; params: z.ZodObject<{ mode: z.ZodEnum<{ carry: "carry"; summary: "summary"; trim: "trim"; }>; tokens: z.ZodOptional; from: z.ZodOptional; cleared: z.ZodOptional; model: z.ZodOptional; fellBack: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"installing">; params: z.ZodObject<{ ownCopy: z.ZodBoolean; root: z.ZodOptional; projects: z.ZodOptional; more: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>], "code">; export type SandboxNotice = z.infer; export declare const noticeCode: (notice: SandboxNotice) => NoticeCode; export declare const sandboxNoticeOf: (row: { readonly noticeCode?: NoticeCode | undefined; }) => SandboxNotice | undefined; export {}; //# sourceMappingURL=sandbox-notice.d.ts.map