export interface RepairResult {
    success: boolean;
    repaired: number;
    failed: number;
    skipped: number;
    errors: string[];
    warnings: string[];
    actions: RepairAction[];
}
export interface RepairAction {
    type: "create" | "delete" | "move" | "update" | "fix";
    description: string;
    file?: string;
    success: boolean;
    error?: string;
}
export declare class ProjectStructureRepair {
    private validator;
    private projectRoot;
    private backupEnabled;
    private dryRun;
    constructor(projectRoot?: string);
    /**
     * Comprehensive project structure repair
     */
    repairProject(options?: {
        dryRun?: boolean;
        backup?: boolean;
        force?: boolean;
        verbose?: boolean;
    }): Promise<RepairResult>;
    /**
     * Create backup of current project
     */
    private createBackup;
    /**
     * Repair critical issues
     */
    private repairCriticalIssues;
    /**
     * Repair high priority issues
     */
    private repairHighPriorityIssues;
    /**
     * Repair medium priority issues
     */
    private repairMediumPriorityIssues;
    /**
     * Repair low priority issues
     */
    private repairLowPriorityIssues;
    /**
     * Repair a specific issue
     */
    private repairIssue;
    /**
     * Repair multiple package.json files
     */
    private repairMultiplePackageJson;
    /**
     * Repair nested node_modules directories
     */
    private repairNestedNodeModules;
    /**
     * Repair multiple lock files
     */
    private repairMultipleLockFiles;
    /**
     * Repair multiple build configurations
     */
    private repairMultipleBuildConfigs;
    /**
     * Repair missing package.json
     */
    private repairMissingPackageJson;
    /**
     * Repair missing lock file
     */
    private repairMissingLockFile;
    /**
     * Repair missing TypeScript configuration
     */
    private repairMissingTsConfig;
    /**
     * Repair missing build configuration
     */
    private repairMissingBuildConfig;
    /**
     * Repair package manager configuration
     */
    private repairPackageManager;
    /**
     * Optimize project structure
     */
    private optimizeProjectStructure;
    /**
     * Perform final validation
     */
    private performFinalValidation;
    /**
     * Detect if this is an InstantDB project
     */
    private isInstantDBProject;
    /**
     * Optimize InstantDB-specific structure
     */
    private optimizeInstantDBStructure;
    /**
     * Ensure package manager is set to pnpm
     */
    private ensurePnpmPackageManager;
    /**
     * Generate InstantDB schema template
     */
    private generateInstantSchema;
    /**
     * Generate InstantDB permissions template
     */
    private generateInstantPerms;
    /**
     * Generate InstantDB connection template
     */
    private generateInstantDBConnection;
    /**
     * Helper methods
     */
    private findFiles;
    private findDirectories;
    private generateDefaultPackageJson;
    private generateDefaultTsConfig;
    private generateDefaultNextConfig;
    private generateGitignoreContent;
}
//# sourceMappingURL=ProjectStructureRepair.d.ts.map