import { type OmpSdkCollectedTerminal, type OmpSdkProtocolProgressFrame } from './sdk-protocol'; import type { PreparedSingleAgentProviderCommand } from '../single-agent-runtime'; import type { OmpSdkCleanupAttestation, OmpSdkContainmentRequirement, OmpSdkExecutionIdentity, OmpSdkSemanticIdentity, PreparedEnvironmentPolicy, PreparedPrivateArtifacts, PreparedProviderInvoke } from '../types'; import type { ProcessResult, ProcessRunnerOptions } from '../process-runner'; export { credentialPayload, redactDiagnostic } from './sdk-process-credentials'; export { OmpSdkProcessRunnerError } from './sdk-process-error'; export interface OmpSdkPreparedInvocation extends PreparedSingleAgentProviderCommand { readonly invoke: PreparedProviderInvoke & { readonly lane: 'spawn'; readonly parser: 'omp-sdk-ndjson'; readonly ptyEligible: false; readonly strictTerminal: true; }; readonly environmentPolicy: PreparedEnvironmentPolicy; readonly credentialNames: readonly string[]; readonly privateArtifacts: PreparedPrivateArtifacts; readonly containmentRequirement: OmpSdkContainmentRequirement; readonly executionIdentity: OmpSdkExecutionIdentity; readonly semanticIdentity: OmpSdkSemanticIdentity; } export interface OmpSdkProcessRunnerOptions extends ProcessRunnerOptions { readonly onProgress?: (frame: OmpSdkProtocolProgressFrame) => void; readonly reapTimeoutMs?: number; } export interface OmpSdkProcessResult extends ProcessResult { readonly terminal: OmpSdkCollectedTerminal; readonly progress: readonly OmpSdkProtocolProgressFrame[]; readonly diagnosticStderr: string; readonly cleanupAttestation: OmpSdkCleanupAttestation; } export interface OmpSdkRunningProcess { readonly pid: number; readonly result: Promise; cancel(): void; } export interface PrivateRuntime { readonly root: string; readonly requestPath: string; readonly home: string; readonly xdgConfig: string; readonly xdgCache: string; readonly xdgData: string; readonly xdgState: string; readonly piDirectory: string; } export declare function assertPrepared(prepared: PreparedSingleAgentProviderCommand): asserts prepared is OmpSdkPreparedInvocation; export declare function assertHostContainment(requirement: OmpSdkContainmentRequirement): void; export declare function makePrivateRuntime(artifacts: PreparedPrivateArtifacts): Promise; export declare function removePrivateRoot(runtime: PrivateRuntime): Promise; export declare function childEnvironment(policy: PreparedEnvironmentPolicy, runtime: PrivateRuntime): NodeJS.ProcessEnv; //# sourceMappingURL=sdk-process-private-runtime.d.ts.map