import { ExtensionAPI } from '@earendil-works/pi-coding-agent'; declare function piMissions(pi: ExtensionAPI): void; declare const ORCHESTRA_EXECUTION_CONTRACT_VERSION: 1; interface MissionOrchestraExecutionIdentity { missionId: string; taskId: string; attemptId: string; } interface MissionOrchestraExecutionCorrelation extends MissionOrchestraExecutionIdentity { caller: "pi-missions"; idempotencyKey: string; } /** * Must stay byte-for-byte compatible with * @groeponline/pi-agent-orchestrator's CHE-142 v1 contract. */ declare function buildOrchestraExecutionIdempotencyKey(identity: MissionOrchestraExecutionIdentity): string; /** Build the correlation envelope for one logical mission execution attempt. */ declare function buildMissionOrchestraExecutionCorrelation(identity: MissionOrchestraExecutionIdentity): MissionOrchestraExecutionCorrelation; /** * Propagate correlation through a child Pi process without making environment * variables the canonical durable state. They are transport metadata only. */ declare function orchestraCorrelationEnv(correlation: MissionOrchestraExecutionCorrelation): Record; export { type MissionOrchestraExecutionCorrelation, type MissionOrchestraExecutionIdentity, ORCHESTRA_EXECUTION_CONTRACT_VERSION, buildMissionOrchestraExecutionCorrelation, buildOrchestraExecutionIdempotencyKey, piMissions as default, orchestraCorrelationEnv };