/**
 * ProjectManager - Multi-project support for SpecWeave
 *
 * Handles project context, path resolution, and project switching.
 * Key principle: Single project = multi-project with 1 project (no special cases)
 */
import { ProjectContext } from '../living-docs/types.js';
export type { ProjectContext };
export declare class ProjectManager {
    private configManager;
    private projectRoot;
    private cachedProject;
    constructor(projectRoot: string);
    /**
     * Get current active project
     * Auto-detects project ID from git remote or sync config
     *
     * @returns ProjectContext
     */
    getActiveProject(): ProjectContext;
    /**
     * Get all projects
     *
     * @returns ProjectContext[]
     */
    getAllProjects(): ProjectContext[];
    /**
     * Create a ProjectContext from individual properties
     */
    private createProjectContext;
    /**
     * Get project by ID
     *
     * @param projectId - Project identifier
     * @returns ProjectContext or null
     */
    getProjectById(projectId: string): ProjectContext | null;
    /**
     * Get specs path for active project
     * Example: .specweave/docs/internal/specs/backend/
     *
     * @returns string
     */
    getSpecsPath(projectId?: string): string;
    /**
     * Create project structure (simplified - ONLY specs folder)
     *
     * NOTE: As of v0.X.X (increment 0026), we ONLY create specs/ folder.
     * No modules/, team/, project-arch/, legacy/ folders.
     * This simplifies the structure and reduces complexity.
     *
     * @param projectId - Project identifier
     */
    createProjectStructure(projectId: string): Promise<void>;
    /**
     * Add new project to config
     *
     * @param project - Project context
     */
    addProject(project: ProjectContext): Promise<void>;
    /**
     * Remove project from config
     *
     * @param projectId - Project identifier
     */
    removeProject(projectId: string): Promise<void>;
    /**
     * Clear cached project (force reload)
     */
    clearCache(): void;
    private createProjectREADME;
}
//# sourceMappingURL=project-manager.d.ts.map