/**
 * Project Context Manager
 *
 * Manages project contexts for multi-project sync.
 * Handles project detection, specs folder organization, and project-increment mapping.
 */
import { ProjectContext, ProjectDetectionResult, SyncConfiguration } from '../types/sync-profile.js';
export declare class ProjectContextManager {
    private configPath;
    private projectRoot;
    private config;
    constructor(projectRoot: string);
    /**
     * Load sync configuration
     */
    load(): Promise<SyncConfiguration>;
    /**
     * Save sync configuration
     */
    save(): Promise<void>;
    /**
     * Get all projects
     */
    getAllProjects(): Promise<Record<string, ProjectContext>>;
    /**
     * Get a specific project by ID
     */
    getProject(projectId: string): Promise<ProjectContext | null>;
    /**
     * Create a new project context
     */
    createProject(projectId: string, project: Omit<ProjectContext, 'id'>): Promise<void>;
    /**
     * Update a project context
     */
    updateProject(projectId: string, updates: Partial<Omit<ProjectContext, 'id'>>): Promise<void>;
    /**
     * Delete a project context
     */
    deleteProject(projectId: string, deleteSpecs?: boolean): Promise<void>;
    /**
     * Detect project from increment description
     */
    detectProject(description: string): Promise<ProjectDetectionResult>;
    /**
     * Link increment to project
     */
    linkIncrementToProject(projectId: string, incrementId: string): Promise<void>;
    /**
     * Unlink increment from project
     */
    unlinkIncrementFromProject(projectId: string, incrementId: string): Promise<void>;
    /**
     * Get specs folder path for a project
     */
    getSpecsFolder(projectId: string): string;
    /**
     * Ensure specs folder exists for a project
     */
    ensureSpecsFolder(projectId: string): Promise<string>;
    /**
     * Get all spec files for a project
     */
    getProjectSpecs(projectId: string): Promise<string[]>;
    /**
     * Generate README for project specs folder
     */
    private generateProjectReadme;
    /**
     * Get statistics about projects
     */
    getStats(): Promise<{
        totalProjects: number;
        totalIncrements: number;
        projectsByTeam: Record<string, number>;
    }>;
}
//# sourceMappingURL=project-context.d.ts.map