import { type Result } from '@opensip-cli/core'; import type { StoredRun, StoredRunStep, TaskContextManifest } from '@opensip-cli/contracts'; import type { DataStore } from '@opensip-cli/datastore'; export declare const TASK_CONTEXT_RUN_NAME = "agent-context"; export type TaskContextRunReadReason = 'missing' | 'pre-feature' | 'foreign-project' | 'wrong-run-kind' | 'unsupported-version' | 'invalid-manifest' | 'storage-failed'; export interface TaskContextRunReadError { readonly code: string; readonly reason: TaskContextRunReadReason; readonly message: string; } export interface StoredTaskContextRun { readonly run: StoredRun; readonly manifest: TaskContextManifest; readonly steps: readonly StoredRunStep[]; } /** Read the latest or exact project-scoped parent Run authority for task context. */ export declare function readTaskContextRun(input: { readonly datastore: DataStore; readonly cwd: string; readonly runId?: string; }): Result; //# sourceMappingURL=context-manifest-read.d.ts.map