import { Static, Type } from "typebox"; //#region src/schemas/childProcess.d.ts export declare const SUBAGENT_CHILD_ENV = "PI_SUBAGENT_CHILD"; export declare const SUBAGENT_PARENT_SESSION_ENV = "PI_SUBAGENT_PARENT_SESSION"; export declare const SUBAGENT_ROOT_SESSION_ENV = "PI_SUBAGENT_ROOT_SESSION"; export declare const DOOM_CHILD_PROCESS_CONTEXT_ENV = "DOOM_CHILD_PROCESS_CONTEXT_V1"; /** Marks a process whose caller already supplied its complete Doom extension set. */ export declare const DOOMPI_EXTENSIONS_PROVIDED_ENV = "DOOMPI_EXTENSIONS_PROVIDED"; /** Marks a process that already composed its own extension set from the command line. */ export declare const DOOMPI_COMPOSED_ENV = "DOOMPI_COMPOSED"; /** * True when this process already applied the command line, so a reload does not. * * Extensions read this to tell a synchronized session from a launcher one, which * changes what they can promise the user about a pending selection. */ export declare function alreadyComposed(environment?: NodeJS.ProcessEnv): boolean; export declare function resolveRootSessionId(currentSessionId: string, environment?: Readonly>): string; export declare const ChildProcessContextSchema: Type.TObject<{ parentSessionId: Type.TString; workingDirectory: Type.TString; mode: Type.TOptional; }>; export type ChildProcessContext = Static; export declare function encodeChildProcessContext(context: ChildProcessContext): string; export declare function decodeChildProcessContext(serialized: string): ChildProcessContext; export declare function childProcessContextEnvironment(context: ChildProcessContext): Record; export declare function readChildProcessContext(environment: Readonly>): ChildProcessContext | undefined; //#endregion //# sourceMappingURL=childProcess.d.cts.map