import { z } from "zod"; export declare const SemanticStateSchema: z.ZodEnum<["working", "blocked", "waiting_for_postbox", "idle", "unknown"]>; export declare const PresenceStateSchema: z.ZodEnum<["live", "stale", "offline"]>; export declare const PostboxOwnerListScopeSchema: z.ZodEnum<["feature", "worktree", "repository"]>; export declare const PostboxOwnerSummarySchema: z.ZodObject<{ owner: z.ZodObject<{ harness: z.ZodEnum<["pi", "codex", "claude-code", "legacy"]>; ownerId: z.ZodString; }, "strict", z.ZodTypeAny, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }>; presence: z.ZodEnum<["live", "stale", "offline"]>; activeQuestionCount: z.ZodNumber; unreadAnswerCount: z.ZodNumber; }, "strict", z.ZodTypeAny, { owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; presence: "stale" | "offline" | "live"; activeQuestionCount: number; unreadAnswerCount: number; }, { owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; presence: "stale" | "offline" | "live"; activeQuestionCount: number; unreadAnswerCount: number; }>; export declare const PostboxOwnerSummaryListSchema: z.ZodArray; ownerId: z.ZodString; }, "strict", z.ZodTypeAny, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }>; presence: z.ZodEnum<["live", "stale", "offline"]>; activeQuestionCount: z.ZodNumber; unreadAnswerCount: z.ZodNumber; }, "strict", z.ZodTypeAny, { owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; presence: "stale" | "offline" | "live"; activeQuestionCount: number; unreadAnswerCount: number; }, { owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; presence: "stale" | "offline" | "live"; activeQuestionCount: number; unreadAnswerCount: number; }>, "many">; export declare const MachineRegistrationSchema: z.ZodObject<{ machineId: z.ZodString; hostname: z.ZodString; displayName: z.ZodOptional; }, "strip", z.ZodTypeAny, { machineId: string; hostname: string; displayName?: string | undefined; }, { machineId: string; hostname: string; displayName?: string | undefined; }>; export declare const ProjectIconSchema: z.ZodObject<{ hash: z.ZodString; dataUrl: z.ZodString; mediaType: z.ZodOptional>; sizeBytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }>; export declare const ProjectRegistrationSchema: z.ZodObject<{ projectId: z.ZodString; name: z.ZodString; displayName: z.ZodOptional; description: z.ZodOptional; cwd: z.ZodString; gitRoot: z.ZodOptional; repoName: z.ZodOptional; branch: z.ZodOptional; headSha: z.ZodOptional; isDirty: z.ZodOptional; worktreePath: z.ZodOptional; icon: z.ZodOptional>; sizeBytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }>>; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; cwd: string; projectId: string; description?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; displayName?: string | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; icon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; }, { name: string; cwd: string; projectId: string; description?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; displayName?: string | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; icon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; }>; export declare const SessionRegistrationSchema: z.ZodObject<{ sessionId: z.ZodString; title: z.ZodOptional; cwd: z.ZodString; branch: z.ZodOptional; worktreePath: z.ZodOptional; semanticState: z.ZodDefault>; agentSessionId: z.ZodOptional; agentSessionPath: z.ZodOptional; leafId: z.ZodOptional; owner: z.ZodOptional; ownerId: z.ZodString; }, "strict", z.ZodTypeAny, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }>>; lineage: z.ZodOptional; rootOwnerId: z.ZodOptional; harnessSessionId: z.ZodOptional; depth: z.ZodOptional; path: z.ZodOptional; taskLabel: z.ZodOptional; }, "strict", z.ZodTypeAny, { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; }, { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; }>>; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; feature: z.ZodOptional; }, "strict", z.ZodTypeAny, { featureId: string; name?: string | undefined; }, { featureId: string; name?: string | undefined; }>, z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ action: z.ZodLiteral<"start">; name: z.ZodString; }, "strict", z.ZodTypeAny, { name: string; action: "start"; }, { name: string; action: "start"; }>, z.ZodObject<{ action: z.ZodLiteral<"select">; featureId: z.ZodString; }, "strict", z.ZodTypeAny, { featureId: string; action: "select"; }, { featureId: string; action: "select"; }>, z.ZodObject<{ action: z.ZodLiteral<"inherit">; featureId: z.ZodString; }, "strict", z.ZodTypeAny, { featureId: string; action: "inherit"; }, { featureId: string; action: "inherit"; }>]>]>>; }, "strip", z.ZodTypeAny, { cwd: string; sessionId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | { name: string; action: "start"; } | { featureId: string; action: "select"; } | { featureId: string; action: "inherit"; } | undefined; owner?: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; } | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; lineage?: { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; } | undefined; }, { cwd: string; sessionId: string; agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | { name: string; action: "start"; } | { featureId: string; action: "select"; } | { featureId: string; action: "inherit"; } | undefined; owner?: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; } | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; lineage?: { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; } | undefined; }>; export declare const SessionRegisterPayloadSchema: z.ZodObject<{ machine: z.ZodObject<{ machineId: z.ZodString; hostname: z.ZodString; displayName: z.ZodOptional; }, "strip", z.ZodTypeAny, { machineId: string; hostname: string; displayName?: string | undefined; }, { machineId: string; hostname: string; displayName?: string | undefined; }>; project: z.ZodObject<{ projectId: z.ZodString; name: z.ZodString; displayName: z.ZodOptional; description: z.ZodOptional; cwd: z.ZodString; gitRoot: z.ZodOptional; repoName: z.ZodOptional; branch: z.ZodOptional; headSha: z.ZodOptional; isDirty: z.ZodOptional; worktreePath: z.ZodOptional; icon: z.ZodOptional>; sizeBytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }>>; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; cwd: string; projectId: string; description?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; displayName?: string | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; icon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; }, { name: string; cwd: string; projectId: string; description?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; displayName?: string | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; icon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; }>; session: z.ZodObject<{ sessionId: z.ZodString; title: z.ZodOptional; cwd: z.ZodString; branch: z.ZodOptional; worktreePath: z.ZodOptional; semanticState: z.ZodDefault>; agentSessionId: z.ZodOptional; agentSessionPath: z.ZodOptional; leafId: z.ZodOptional; owner: z.ZodOptional; ownerId: z.ZodString; }, "strict", z.ZodTypeAny, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }>>; lineage: z.ZodOptional; rootOwnerId: z.ZodOptional; harnessSessionId: z.ZodOptional; depth: z.ZodOptional; path: z.ZodOptional; taskLabel: z.ZodOptional; }, "strict", z.ZodTypeAny, { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; }, { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; }>>; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; feature: z.ZodOptional; }, "strict", z.ZodTypeAny, { featureId: string; name?: string | undefined; }, { featureId: string; name?: string | undefined; }>, z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ action: z.ZodLiteral<"start">; name: z.ZodString; }, "strict", z.ZodTypeAny, { name: string; action: "start"; }, { name: string; action: "start"; }>, z.ZodObject<{ action: z.ZodLiteral<"select">; featureId: z.ZodString; }, "strict", z.ZodTypeAny, { featureId: string; action: "select"; }, { featureId: string; action: "select"; }>, z.ZodObject<{ action: z.ZodLiteral<"inherit">; featureId: z.ZodString; }, "strict", z.ZodTypeAny, { featureId: string; action: "inherit"; }, { featureId: string; action: "inherit"; }>]>]>>; }, "strip", z.ZodTypeAny, { cwd: string; sessionId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | { name: string; action: "start"; } | { featureId: string; action: "select"; } | { featureId: string; action: "inherit"; } | undefined; owner?: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; } | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; lineage?: { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; } | undefined; }, { cwd: string; sessionId: string; agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | { name: string; action: "start"; } | { featureId: string; action: "select"; } | { featureId: string; action: "inherit"; } | undefined; owner?: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; } | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; lineage?: { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { machine: { machineId: string; hostname: string; displayName?: string | undefined; }; project: { name: string; cwd: string; projectId: string; description?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; displayName?: string | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; icon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; }; session: { cwd: string; sessionId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | { name: string; action: "start"; } | { featureId: string; action: "select"; } | { featureId: string; action: "inherit"; } | undefined; owner?: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; } | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; lineage?: { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; } | undefined; }; }, { machine: { machineId: string; hostname: string; displayName?: string | undefined; }; project: { name: string; cwd: string; projectId: string; description?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; displayName?: string | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; icon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; }; session: { cwd: string; sessionId: string; agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | { name: string; action: "start"; } | { featureId: string; action: "select"; } | { featureId: string; action: "inherit"; } | undefined; owner?: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; } | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; lineage?: { path?: string | undefined; parentOwnerId?: string | undefined; rootOwnerId?: string | undefined; harnessSessionId?: string | undefined; depth?: number | undefined; taskLabel?: string | undefined; } | undefined; }; }>; export declare const HeartbeatPayloadSchema: z.ZodObject<{ sessionId: z.ZodString; semanticState: z.ZodOptional>; timestamp: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId: string; timestamp?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; }, { sessionId: string; timestamp?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; }>; export declare const SessionUpdatePayloadSchema: z.ZodObject<{ sessionId: z.ZodString; title: z.ZodOptional; cwd: z.ZodOptional; branch: z.ZodOptional; worktreePath: z.ZodOptional; semanticState: z.ZodOptional>; agentSessionPath: z.ZodOptional; leafId: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId: string; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; }, { sessionId: string; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; branch?: string | undefined; worktreePath?: string | undefined; title?: string | undefined; semanticState?: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle" | undefined; }>; export declare const SessionShutdownReasonSchema: z.ZodEnum<["quit", "reload", "new", "resume", "fork"]>; export declare const SessionShutdownPayloadSchema: z.ZodObject<{ sessionId: z.ZodString; reason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { sessionId: string; reason?: "quit" | "reload" | "new" | "resume" | "fork" | undefined; }, { sessionId: string; reason?: "quit" | "reload" | "new" | "resume" | "fork" | undefined; }>; export declare const SessionSnapshotSchema: z.ZodObject<{ sessionId: z.ZodString; title: z.ZodOptional; machineId: z.ZodString; machineName: z.ZodString; hostname: z.ZodString; projectId: z.ZodString; projectName: z.ZodString; projectDetectedName: z.ZodOptional; projectDescription: z.ZodOptional; projectIcon: z.ZodOptional>; sizeBytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }>>; cwd: z.ZodString; gitRoot: z.ZodOptional; repoName: z.ZodOptional; branch: z.ZodOptional; headSha: z.ZodOptional; isDirty: z.ZodOptional; worktreePath: z.ZodOptional; semanticState: z.ZodEnum<["working", "blocked", "waiting_for_postbox", "idle", "unknown"]>; presence: z.ZodEnum<["live", "stale", "offline"]>; lastHeartbeatAt: z.ZodOptional; connectedAt: z.ZodOptional; disconnectedAt: z.ZodOptional; updatedAt: z.ZodString; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; feature: z.ZodOptional; }, "strict", z.ZodTypeAny, { featureId: string; name?: string | undefined; }, { featureId: string; name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { machineId: string; cwd: string; sessionId: string; updatedAt: string; presence: "stale" | "offline" | "live"; hostname: string; projectId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; machineName: string; projectName: string; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; title?: string | undefined; projectDetectedName?: string | undefined; projectDescription?: string | undefined; projectIcon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; lastHeartbeatAt?: string | undefined; connectedAt?: string | undefined; disconnectedAt?: string | undefined; }, { machineId: string; cwd: string; sessionId: string; updatedAt: string; presence: "stale" | "offline" | "live"; hostname: string; projectId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; machineName: string; projectName: string; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; title?: string | undefined; projectDetectedName?: string | undefined; projectDescription?: string | undefined; projectIcon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; lastHeartbeatAt?: string | undefined; connectedAt?: string | undefined; disconnectedAt?: string | undefined; }>; export declare const StateSnapshotSchema: z.ZodObject<{ sessions: z.ZodArray; machineId: z.ZodString; machineName: z.ZodString; hostname: z.ZodString; projectId: z.ZodString; projectName: z.ZodString; projectDetectedName: z.ZodOptional; projectDescription: z.ZodOptional; projectIcon: z.ZodOptional>; sizeBytes: z.ZodOptional; }, "strip", z.ZodTypeAny, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }, { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; }>>; cwd: z.ZodString; gitRoot: z.ZodOptional; repoName: z.ZodOptional; branch: z.ZodOptional; headSha: z.ZodOptional; isDirty: z.ZodOptional; worktreePath: z.ZodOptional; semanticState: z.ZodEnum<["working", "blocked", "waiting_for_postbox", "idle", "unknown"]>; presence: z.ZodEnum<["live", "stale", "offline"]>; lastHeartbeatAt: z.ZodOptional; connectedAt: z.ZodOptional; disconnectedAt: z.ZodOptional; updatedAt: z.ZodString; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; feature: z.ZodOptional; }, "strict", z.ZodTypeAny, { featureId: string; name?: string | undefined; }, { featureId: string; name?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { machineId: string; cwd: string; sessionId: string; updatedAt: string; presence: "stale" | "offline" | "live"; hostname: string; projectId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; machineName: string; projectName: string; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; title?: string | undefined; projectDetectedName?: string | undefined; projectDescription?: string | undefined; projectIcon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; lastHeartbeatAt?: string | undefined; connectedAt?: string | undefined; disconnectedAt?: string | undefined; }, { machineId: string; cwd: string; sessionId: string; updatedAt: string; presence: "stale" | "offline" | "live"; hostname: string; projectId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; machineName: string; projectName: string; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; title?: string | undefined; projectDetectedName?: string | undefined; projectDescription?: string | undefined; projectIcon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; lastHeartbeatAt?: string | undefined; connectedAt?: string | undefined; disconnectedAt?: string | undefined; }>, "many">; requests: z.ZodDefault; creator: z.ZodObject<{ harness: z.ZodEnum<["pi", "codex", "claude-code", "legacy"]>; ownerId: z.ZodString; }, "strict", z.ZodTypeAny, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }>; owner: z.ZodObject<{ harness: z.ZodEnum<["pi", "codex", "claude-code", "legacy"]>; ownerId: z.ZodString; }, "strict", z.ZodTypeAny, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }, { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }>; mode: z.ZodEnum<["single", "multi"]>; question: z.ZodObject<{ prompt: z.ZodString; ambiguity: z.ZodOptional; }, "strip", z.ZodTypeAny, { prompt: string; ambiguity?: string | undefined; }, { prompt: string; ambiguity?: string | undefined; }>; options: z.ZodArray; impact: z.ZodOptional; } & { provenance: z.ZodOptional>; }, "strict", z.ZodTypeAny, { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }, { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }>, "many">; images: z.ZodDefault; caption: z.ZodOptional; imageId: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/webp"]>; byteSize: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; }, "strict", z.ZodTypeAny, { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }, { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }>, { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }, { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }>, "many">>; forkReference: z.ZodOptional; agentSessionPath: z.ZodOptional; leafId: z.ZodOptional; cwd: z.ZodOptional; model: z.ZodOptional; }, "strip", z.ZodTypeAny, { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; }, { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; }>>; status: z.ZodEnum<["pending", "answered", "cancelled", "expired", "superseded"]>; createdAt: z.ZodString; expiresAt: z.ZodOptional; resolvedAt: z.ZodOptional; result: z.ZodOptional; requestId: z.ZodString; selectedValues: z.ZodArray; note: z.ZodOptional; affectedDescendantIds: z.ZodOptional>; descendantGuidance: z.ZodOptional; resolvedAt: z.ZodString; }, "strip", z.ZodTypeAny, { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; }, { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"cancelled">; requestId: z.ZodString; note: z.ZodOptional; resolvedAt: z.ZodString; }, "strip", z.ZodTypeAny, { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; }, { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"expired">; requestId: z.ZodString; note: z.ZodOptional; resolvedAt: z.ZodString; }, "strip", z.ZodTypeAny, { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; }, { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"unavailable">; requestId: z.ZodString; note: z.ZodOptional; resolvedAt: z.ZodString; }, "strip", z.ZodTypeAny, { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; }, { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; }>]>>; answerId: z.ZodOptional; answerRead: z.ZodOptional; parentQuestionId: z.ZodOptional; repository: z.ZodOptional; machineId: z.ZodOptional; commonDirectory: z.ZodOptional; }, "strict", z.ZodTypeAny, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }, { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; }>>; worktree: z.ZodOptional>; feature: z.ZodOptional; }, "strict", z.ZodTypeAny, { featureId: string; name?: string | undefined; }, { featureId: string; name?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { options: { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }[]; status: "pending" | "answered" | "cancelled" | "expired" | "superseded"; requestId: string; sessionId: string; mode: "single" | "multi"; question: { prompt: string; ambiguity?: string | undefined; }; images: { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }[]; revision: number; ownerRevision: number; owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; creator: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; createdAt: string; forkReference?: { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; } | undefined; expiresAt?: string | undefined; parentQuestionId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; answerId?: string | undefined; resolvedAt?: string | undefined; result?: { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; } | { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; } | undefined; answerRead?: boolean | undefined; }, { options: { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }[]; status: "pending" | "answered" | "cancelled" | "expired" | "superseded"; requestId: string; sessionId: string; mode: "single" | "multi"; question: { prompt: string; ambiguity?: string | undefined; }; revision: number; owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; creator: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; createdAt: string; images?: { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }[] | undefined; forkReference?: { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; } | undefined; expiresAt?: string | undefined; parentQuestionId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; ownerRevision?: number | undefined; answerId?: string | undefined; resolvedAt?: string | undefined; result?: { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; } | { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; } | undefined; answerRead?: boolean | undefined; }>, { options: { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }[]; status: "pending" | "answered" | "cancelled" | "expired" | "superseded"; requestId: string; sessionId: string; mode: "single" | "multi"; question: { prompt: string; ambiguity?: string | undefined; }; images: { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }[]; revision: number; ownerRevision: number; owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; creator: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; createdAt: string; forkReference?: { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; } | undefined; expiresAt?: string | undefined; parentQuestionId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; answerId?: string | undefined; resolvedAt?: string | undefined; result?: { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; } | { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; } | undefined; answerRead?: boolean | undefined; }, { options: { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }[]; status: "pending" | "answered" | "cancelled" | "expired" | "superseded"; requestId: string; sessionId: string; mode: "single" | "multi"; question: { prompt: string; ambiguity?: string | undefined; }; revision: number; owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; creator: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; createdAt: string; images?: { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }[] | undefined; forkReference?: { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; } | undefined; expiresAt?: string | undefined; parentQuestionId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; ownerRevision?: number | undefined; answerId?: string | undefined; resolvedAt?: string | undefined; result?: { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; } | { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; } | undefined; answerRead?: boolean | undefined; }>, "many">>; timestamp: z.ZodString; }, "strip", z.ZodTypeAny, { timestamp: string; sessions: { machineId: string; cwd: string; sessionId: string; updatedAt: string; presence: "stale" | "offline" | "live"; hostname: string; projectId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; machineName: string; projectName: string; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; title?: string | undefined; projectDetectedName?: string | undefined; projectDescription?: string | undefined; projectIcon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; lastHeartbeatAt?: string | undefined; connectedAt?: string | undefined; disconnectedAt?: string | undefined; }[]; requests: { options: { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }[]; status: "pending" | "answered" | "cancelled" | "expired" | "superseded"; requestId: string; sessionId: string; mode: "single" | "multi"; question: { prompt: string; ambiguity?: string | undefined; }; images: { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }[]; revision: number; ownerRevision: number; owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; creator: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; createdAt: string; forkReference?: { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; } | undefined; expiresAt?: string | undefined; parentQuestionId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; answerId?: string | undefined; resolvedAt?: string | undefined; result?: { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; } | { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; } | undefined; answerRead?: boolean | undefined; }[]; }, { timestamp: string; sessions: { machineId: string; cwd: string; sessionId: string; updatedAt: string; presence: "stale" | "offline" | "live"; hostname: string; projectId: string; semanticState: "unknown" | "working" | "blocked" | "waiting_for_postbox" | "idle"; machineName: string; projectName: string; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; gitRoot?: string | undefined; repoName?: string | undefined; branch?: string | undefined; headSha?: string | undefined; isDirty?: boolean | undefined; worktreePath?: string | undefined; title?: string | undefined; projectDetectedName?: string | undefined; projectDescription?: string | undefined; projectIcon?: { hash: string; dataUrl: string; mediaType?: "image/jpeg" | "image/png" | "image/webp" | "image/svg+xml" | "image/gif" | undefined; sizeBytes?: number | undefined; } | undefined; lastHeartbeatAt?: string | undefined; connectedAt?: string | undefined; disconnectedAt?: string | undefined; }[]; requests?: { options: { value: string; label: string; description?: string | undefined; impact?: string | undefined; provenance?: "chat" | undefined; }[]; status: "pending" | "answered" | "cancelled" | "expired" | "superseded"; requestId: string; sessionId: string; mode: "single" | "multi"; question: { prompt: string; ambiguity?: string | undefined; }; revision: number; owner: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; creator: { harness: "pi" | "codex" | "claude-code" | "legacy"; ownerId: string; }; createdAt: string; images?: { alt: string; imageId: string; mediaType: "image/jpeg" | "image/png" | "image/webp"; byteSize: number; width: number; height: number; caption?: string | undefined; }[] | undefined; forkReference?: { agentSessionId?: string | undefined; agentSessionPath?: string | undefined; leafId?: string | undefined; cwd?: string | undefined; model?: string | undefined; } | undefined; expiresAt?: string | undefined; parentQuestionId?: string | undefined; repository?: { repositoryId: string; remote?: string | undefined; machineId?: string | undefined; commonDirectory?: string | undefined; } | undefined; worktree?: { path: string; machineId: string; worktreeId: string; } | undefined; feature?: { featureId: string; name?: string | undefined; } | undefined; ownerRevision?: number | undefined; answerId?: string | undefined; resolvedAt?: string | undefined; result?: { status: "answered"; requestId: string; selectedValues: string[]; resolvedAt: string; affectedDescendantIds?: string[] | undefined; note?: string | undefined; descendantGuidance?: string | undefined; } | { status: "cancelled"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "expired"; requestId: string; resolvedAt: string; note?: string | undefined; } | { status: "unavailable"; requestId: string; resolvedAt: string; note?: string | undefined; } | undefined; answerRead?: boolean | undefined; }[] | undefined; }>; export type SemanticState = z.infer; export type PresenceState = z.infer; export type PostboxOwnerListScope = z.infer; export type PostboxOwnerSummary = z.infer; export type PostboxOwnerSummaryList = z.infer; export type ProjectIcon = z.infer; export type MachineRegistration = z.infer; export type ProjectRegistration = z.infer; export type SessionRegistration = z.infer; export type SessionRegisterPayload = z.infer; export type HeartbeatPayload = z.infer; export type SessionUpdatePayload = z.infer; export type SessionShutdownReason = z.infer; export type SessionShutdownPayload = z.infer; export type SessionSnapshot = z.infer; export type StateSnapshot = z.infer; //# sourceMappingURL=session.d.ts.map