export interface PlanningArtifacts { plansDir: string; specsDir: string; prdPaths: string[]; testSpecPaths: string[]; deepInterviewSpecPaths: string[]; } export interface ApprovedRepositoryContextSummary { sourcePath: string; content: string; truncated: boolean; } export interface ApprovedPlanContext { sourcePath: string; testSpecPaths: string[]; deepInterviewSpecPaths: string[]; repositoryContextSummary?: ApprovedRepositoryContextSummary; } export interface ApprovedExecutionLaunchHint extends ApprovedPlanContext { mode: 'team' | 'ralph'; command: string; task: string; workerCount?: number; agentType?: string; linkedRalph?: boolean; } export interface LatestPlanningArtifactSelection { prdPath: string | null; testSpecPaths: string[]; deepInterviewSpecPaths: string[]; } interface ApprovedExecutionLaunchHintReadOptions { prdPath?: string; task?: string; command?: string; workerCount?: number; agentType?: string; linkedRalph?: boolean; } export type ApprovedExecutionLaunchHintOutcome = { status: 'absent'; } | { status: 'ambiguous'; } | { status: 'resolved'; hint: ApprovedExecutionLaunchHint; }; export interface TeamDagArtifactResolution { source: 'json-sidecar' | 'markdown-handoff' | 'none'; prdPath: string | null; planSlug: string | null; artifactPath?: string; content?: string; warnings: string[]; } export declare function readPlanningArtifacts(cwd: string): PlanningArtifacts; export declare function isPlanningComplete(artifacts: PlanningArtifacts): boolean; export declare function decodeApprovedExecutionQuotedValue(raw: string): string | null; export declare function selectLatestPlanningArtifacts(artifacts: PlanningArtifacts): LatestPlanningArtifactSelection; export declare function readLatestPlanningArtifacts(cwd: string): LatestPlanningArtifactSelection; export declare function readTeamDagArtifactResolution(cwd: string): TeamDagArtifactResolution; export declare function readApprovedExecutionLaunchHintOutcome(cwd: string, mode: 'team' | 'ralph', options?: ApprovedExecutionLaunchHintReadOptions): ApprovedExecutionLaunchHintOutcome; export declare function readApprovedExecutionLaunchHint(cwd: string, mode: 'team' | 'ralph', options?: ApprovedExecutionLaunchHintReadOptions): ApprovedExecutionLaunchHint | null; export {}; //# sourceMappingURL=artifacts.d.ts.map