import { z } from "zod"; export declare const recursiveSessionStatusSchema: z.ZodEnum<["draft", "running", "paused", "finalized", "failed"]>; export declare const recursivePromotionStateSchema: z.ZodEnum<["draft-only", "partially-promoted", "fully-promoted"]>; export declare const recursiveHandleTypeSchema: z.ZodEnum<["repo-file", "repo-slice", "task-artifact", "decision-artifact", "template", "summary", "search-result", "runtime-artifact", "checkpoint", "memory", "scorecard", "final-output"]>; export declare const recursiveHandleStalenessSchema: z.ZodEnum<["fresh", "unknown", "stale"]>; export declare const recursiveArtifactHandleSchema: z.ZodObject<{ handleId: z.ZodString; handleType: z.ZodEnum<["repo-file", "repo-slice", "task-artifact", "decision-artifact", "template", "summary", "search-result", "runtime-artifact", "checkpoint", "memory", "scorecard", "final-output"]>; targetRef: z.ZodString; label: z.ZodString; summary: z.ZodString; stalenessState: z.ZodEnum<["fresh", "unknown", "stale"]>; sourceArtifactType: z.ZodOptional; }, "strip", z.ZodTypeAny, { summary: string; label: string; handleId: string; handleType: "summary" | "runtime-artifact" | "memory" | "template" | "repo-file" | "repo-slice" | "task-artifact" | "decision-artifact" | "search-result" | "checkpoint" | "scorecard" | "final-output"; targetRef: string; stalenessState: "unknown" | "stale" | "fresh"; sourceArtifactType?: string | undefined; }, { summary: string; label: string; handleId: string; handleType: "summary" | "runtime-artifact" | "memory" | "template" | "repo-file" | "repo-slice" | "task-artifact" | "decision-artifact" | "search-result" | "checkpoint" | "scorecard" | "final-output"; targetRef: string; stalenessState: "unknown" | "stale" | "fresh"; sourceArtifactType?: string | undefined; }>; export declare const recursiveSessionSchema: z.ZodObject<{ sessionId: z.ZodString; taskId: z.ZodOptional; status: z.ZodEnum<["draft", "running", "paused", "finalized", "failed"]>; createdAt: z.ZodString; updatedAt: z.ZodString; rootObjective: z.ZodOptional; budgetPolicy: z.ZodObject<{ policyId: z.ZodString; maxDepth: z.ZodNumber; maxIterations: z.ZodNumber; maxSubcalls: z.ZodNumber; maxCodeCells: z.ZodDefault; maxBatchWidth: z.ZodNumber; maxDurationMs: z.ZodNumber; maxTokensApprox: z.ZodOptional; maxToolReads: z.ZodNumber; allowWritesToScratchOnly: z.ZodBoolean; allowNetwork: z.ZodBoolean; sandboxMode: z.ZodEnum<["disabled", "restricted", "isolated"]>; isolationLevel: z.ZodEnum<["metadata-only", "read-only-inspection", "read-only-repl", "isolated-execution"]>; allowedWriteScopes: z.ZodDefault>; stopConditions: z.ZodDefault>; }, "strip", z.ZodTypeAny, { policyId: string; isolationLevel: "metadata-only" | "read-only-inspection" | "read-only-repl" | "isolated-execution"; allowedWriteScopes: string[]; stopConditions: string[]; maxDurationMs: number; maxIterations: number; maxSubcalls: number; maxCodeCells: number; maxDepth: number; maxBatchWidth: number; maxToolReads: number; allowWritesToScratchOnly: boolean; allowNetwork: boolean; sandboxMode: "disabled" | "restricted" | "isolated"; maxTokensApprox?: number | undefined; }, { policyId: string; isolationLevel: "metadata-only" | "read-only-inspection" | "read-only-repl" | "isolated-execution"; maxDurationMs: number; maxIterations: number; maxSubcalls: number; maxDepth: number; maxBatchWidth: number; maxToolReads: number; allowWritesToScratchOnly: boolean; allowNetwork: boolean; sandboxMode: "disabled" | "restricted" | "isolated"; allowedWriteScopes?: string[] | undefined; stopConditions?: string[] | undefined; maxCodeCells?: number | undefined; maxTokensApprox?: number | undefined; }>; handles: z.ZodArray; targetRef: z.ZodString; label: z.ZodString; summary: z.ZodString; stalenessState: z.ZodEnum<["fresh", "unknown", "stale"]>; sourceArtifactType: z.ZodOptional; }, "strip", z.ZodTypeAny, { summary: string; label: string; handleId: string; handleType: "summary" | "runtime-artifact" | "memory" | "template" | "repo-file" | "repo-slice" | "task-artifact" | "decision-artifact" | "search-result" | "checkpoint" | "scorecard" | "final-output"; targetRef: string; stalenessState: "unknown" | "stale" | "fresh"; sourceArtifactType?: string | undefined; }, { summary: string; label: string; handleId: string; handleType: "summary" | "runtime-artifact" | "memory" | "template" | "repo-file" | "repo-slice" | "task-artifact" | "decision-artifact" | "search-result" | "checkpoint" | "scorecard" | "final-output"; targetRef: string; stalenessState: "unknown" | "stale" | "fresh"; sourceArtifactType?: string | undefined; }>, "many">; tools: z.ZodArray; compactedSummary: z.ZodOptional; parentSessionId: z.ZodOptional; promotionState: z.ZodEnum<["draft-only", "partially-promoted", "fully-promoted"]>; policyRef: z.ZodOptional; capabilityViewRef: z.ZodOptional; runtimeInventoryRef: z.ZodOptional; memoryRef: z.ZodOptional; summaryRef: z.ZodOptional; finalOutputRef: z.ZodOptional; scorecardRef: z.ZodOptional; rootFrameRef: z.ZodOptional; iterationCount: z.ZodDefault; subcallCount: z.ZodDefault; codeCellCount: z.ZodDefault; checkpointCount: z.ZodDefault; }, "strip", z.ZodTypeAny, { status: "draft" | "running" | "failed" | "paused" | "finalized"; createdAt: string; updatedAt: string; sessionId: string; budgetPolicy: { policyId: string; isolationLevel: "metadata-only" | "read-only-inspection" | "read-only-repl" | "isolated-execution"; allowedWriteScopes: string[]; stopConditions: string[]; maxDurationMs: number; maxIterations: number; maxSubcalls: number; maxCodeCells: number; maxDepth: number; maxBatchWidth: number; maxToolReads: number; allowWritesToScratchOnly: boolean; allowNetwork: boolean; sandboxMode: "disabled" | "restricted" | "isolated"; maxTokensApprox?: number | undefined; }; handles: { summary: string; label: string; handleId: string; handleType: "summary" | "runtime-artifact" | "memory" | "template" | "repo-file" | "repo-slice" | "task-artifact" | "decision-artifact" | "search-result" | "checkpoint" | "scorecard" | "final-output"; targetRef: string; stalenessState: "unknown" | "stale" | "fresh"; sourceArtifactType?: string | undefined; }[]; tools: string[]; promotionState: "draft-only" | "partially-promoted" | "fully-promoted"; iterationCount: number; subcallCount: number; codeCellCount: number; checkpointCount: number; taskId?: string | undefined; rootObjective?: string | undefined; compactedSummary?: string | undefined; parentSessionId?: string | undefined; policyRef?: string | undefined; capabilityViewRef?: string | undefined; runtimeInventoryRef?: string | undefined; memoryRef?: string | undefined; summaryRef?: string | undefined; finalOutputRef?: string | undefined; scorecardRef?: string | undefined; rootFrameRef?: string | undefined; }, { status: "draft" | "running" | "failed" | "paused" | "finalized"; createdAt: string; updatedAt: string; sessionId: string; budgetPolicy: { policyId: string; isolationLevel: "metadata-only" | "read-only-inspection" | "read-only-repl" | "isolated-execution"; maxDurationMs: number; maxIterations: number; maxSubcalls: number; maxDepth: number; maxBatchWidth: number; maxToolReads: number; allowWritesToScratchOnly: boolean; allowNetwork: boolean; sandboxMode: "disabled" | "restricted" | "isolated"; allowedWriteScopes?: string[] | undefined; stopConditions?: string[] | undefined; maxCodeCells?: number | undefined; maxTokensApprox?: number | undefined; }; handles: { summary: string; label: string; handleId: string; handleType: "summary" | "runtime-artifact" | "memory" | "template" | "repo-file" | "repo-slice" | "task-artifact" | "decision-artifact" | "search-result" | "checkpoint" | "scorecard" | "final-output"; targetRef: string; stalenessState: "unknown" | "stale" | "fresh"; sourceArtifactType?: string | undefined; }[]; tools: string[]; promotionState: "draft-only" | "partially-promoted" | "fully-promoted"; taskId?: string | undefined; rootObjective?: string | undefined; compactedSummary?: string | undefined; parentSessionId?: string | undefined; policyRef?: string | undefined; capabilityViewRef?: string | undefined; runtimeInventoryRef?: string | undefined; memoryRef?: string | undefined; summaryRef?: string | undefined; finalOutputRef?: string | undefined; scorecardRef?: string | undefined; rootFrameRef?: string | undefined; iterationCount?: number | undefined; subcallCount?: number | undefined; codeCellCount?: number | undefined; checkpointCount?: number | undefined; }>; export type RecursiveArtifactHandle = z.infer; export type RecursiveSessionStatus = z.infer; export type RecursivePromotionState = z.infer; export type RecursiveSession = z.infer; export declare function parseRecursiveSession(value: unknown): RecursiveSession; //# sourceMappingURL=session.d.ts.map