export type TaskCategory = 'active' | 'pending' | 'done'; export interface TaskEntry { category: TaskCategory; feature: string; directory: string; fileName: string; absolutePath: string; relativePath: string; title: string; isSpec: boolean; content: string; } export interface TaskGroup { category: TaskCategory; feature: string; directory: string; files: TaskEntry[]; } export interface TaskWorkspaceSnapshot { rootDir: string; agentsDir: string; groups: TaskGroup[]; entries: TaskEntry[]; counts: { active: number; pending: number; done: number; specs: number; features: number; }; snapshotHash: string; } export interface TaskSyncMetadata { snapshotHash: string; generatedAt: string; activeCount: number; pendingCount: number; doneCount: number; specCount: number; featureCount: number; } export interface TaskValidationOptions { statusJsonPath?: string; statusMarkdownPath?: string; } export interface TaskValidationResult { ok: boolean; errors: string[]; snapshot: TaskWorkspaceSnapshot; } export declare function scanTaskWorkspace(rootDir: string): Promise; export declare function buildTaskSyncMetadata(snapshot: TaskWorkspaceSnapshot): TaskSyncMetadata; export declare function renderTaskReadmeIndex(snapshot: TaskWorkspaceSnapshot, group: TaskGroup): string; export declare function renderTaskReadmeMap(snapshot: TaskWorkspaceSnapshot): Map; export declare function setTaskStatus(content: string, nextStatus: string): string; export declare function createTaskTemplate(fileName: string, title?: string, status?: string): string; export declare function createSpecTemplate(featureName: string, title?: string): string; export declare function archiveTaskFile(rootDir: string, sourcePath: string): Promise<{ sourcePath: string; destinationPath: string; }>; export declare function validateTaskSpecs(snapshot: TaskWorkspaceSnapshot): string[]; export declare function validateTaskWorkspace(rootDir: string, options?: TaskValidationOptions): Promise; //# sourceMappingURL=core.d.ts.map