import { z } from 'zod'; export declare const PARENT_CONTEXT_ENV = "VV_PARENT_CONTEXT"; export declare const MAX_NESTED_DEPTH = 3; export declare const ParentContextSchema: z.ZodObject<{ runId: z.ZodString; treeHash: z.ZodString; depth: z.ZodNumber; stepName: z.ZodString; phaseName: z.ZodOptional; outputDir: z.ZodString; capturing: z.ZodBoolean; caching: z.ZodBoolean; extracting: z.ZodBoolean; verbose: z.ZodBoolean; forceExecution: z.ZodBoolean; }, "strict", z.ZodTypeAny, { treeHash: string; runId: string; depth: number; stepName: string; outputDir: string; capturing: boolean; caching: boolean; extracting: boolean; verbose: boolean; forceExecution: boolean; phaseName?: string | undefined; }, { treeHash: string; runId: string; depth: number; stepName: string; outputDir: string; capturing: boolean; caching: boolean; extracting: boolean; verbose: boolean; forceExecution: boolean; phaseName?: string | undefined; }>; export type ParentContext = z.infer; export interface ChildContextInput { runId: string; treeHash: string; stepName: string; phaseName?: string; outputDir: string; verbose: boolean; forceExecution: boolean; } export declare function readParentContext(): ParentContext | null; export declare function buildChildContext(parent: ParentContext | null, input: ChildContextInput): ParentContext; export declare function serializeForEnv(ctx: ParentContext): string; //# sourceMappingURL=parent-context.d.ts.map