import { GitCommit } from './git.js'; export interface WorkflowStatusInput { projectId?: string; } export interface WorkflowStatusOutput { project: string; timestamp: string; git: { branch: string; hasChanges: boolean; ahead: number; behind: number; }; issues: { open: number; inProgress: number; blocked: number; recentlyUpdated: Array<{ id: string; title: string; status: string; }>; }; health: { score: number; atRisk: string[]; behind: string[]; }; friction: { total: number; topBySignal: Array<{ context: string; signal: number; }>; }; codeQuality?: { godFiles: number; highSeverity: number; mediumSeverity: number; }; recommendations: string[]; } export interface WorkflowPreflightInput { projectId?: string; strict?: boolean; } export interface WorkflowPreflightOutput { passed: boolean; timestamp: string; checks: Array<{ name: string; status: 'pass' | 'warn' | 'fail'; message: string; details?: string[]; }>; summary: string; healthSnapshot?: { logged: boolean; reason: string; }; } export interface WorkflowShipInput { projectId?: string; dryRun?: boolean; } export interface WorkflowShipOutput { ready: boolean; timestamp: string; blockers: string[]; warnings: string[]; checklist: Array<{ item: string; status: 'done' | 'pending' | 'blocked'; }>; nextSteps: string[]; healthSnapshot?: { logged: boolean; reason: string; }; } export interface WorkflowInvestigateInput { projectId?: string; context?: string; } export interface WorkflowInvestigateOutput { timestamp: string; recentCommits: GitCommit[]; recentIssues: Array<{ id: string; title: string; status: string; updated: string; }>; relatedFriction: Array<{ context: string; description: string; }>; recentLearnings: Array<{ date: string; content: string; }>; suggestions: string[]; } export interface WorkflowError { error: string; details?: string; } export declare function workflowStatus(input: WorkflowStatusInput): Promise; export declare function workflowPreflight(input: WorkflowPreflightInput): Promise; export declare function workflowShip(input: WorkflowShipInput): Promise; export declare function workflowInvestigate(input: WorkflowInvestigateInput): Promise; export interface ProjectSnapshotInput { projectId?: string; depth?: 'quick' | 'full'; } export interface ProjectSnapshotOutput { briefing: string; project_id: string; generated_at: string; } export declare function projectSnapshot(input: ProjectSnapshotInput): Promise; export declare function isWorkflowError(result: unknown): result is WorkflowError; //# sourceMappingURL=workflow.d.ts.map