/**
 * ClaudeSymlinkManager - Manages selective symlinks from ~/.ccs/.claude/ to ~/.claude/
 * v4.1.0: Selective symlinking for CCS items
 *
 * Purpose: Ship CCS items (.claude/) with package and symlink them to user's ~/.claude/
 * Architecture:
 *   - ~/.ccs/.claude/* (source, ships with CCS)
 *   - ~/.claude/* (target, gets selective symlinks)
 *   - ~/.ccs/shared/ (UNTOUCHED, existing profile mechanism)
 *
 * Symlink Chain:
 *   profile -> ~/.ccs/shared/ -> ~/.claude/ (which has symlinks to ~/.ccs/.claude/)
 */
interface HealthCheckResult {
    healthy: boolean;
    issues: string[];
}
/**
 * ClaudeSymlinkManager - Manages selective symlinks from ~/.ccs/.claude/ to ~/.claude/
 */
export declare class ClaudeSymlinkManager {
    private homeDir;
    private ccsClaudeDir;
    private userClaudeDir;
    private ccsItems;
    constructor();
    /**
     * Install CCS items to user's ~/.claude/ via selective symlinks
     * Safe: backs up existing files before creating symlinks
     */
    install(silent?: boolean): void;
    /**
     * Install a single CCS item with conflict handling
     */
    private installItem;
    /**
     * Windows fallback: copy files/directories when symlinks unavailable
     * Note: Changes won't auto-sync; user must run 'ccs sync' after updates
     */
    private copyFallback;
    /**
     * Recursively copy directory (for Windows fallback)
     */
    private copyDirRecursive;
    /**
     * Check if target is already the correct symlink pointing to source
     */
    private isOurSymlink;
    /**
     * Backup existing item before replacing with symlink
     */
    private backupItem;
    /**
     * Uninstall CCS items from ~/.claude/ (remove symlinks or copied files)
     * Safe: only removes items that are CCS symlinks or valid copies
     * @returns number of items removed
     */
    uninstall(): number;
    /**
     * Check symlink health and report issues
     * Used by 'ccs doctor' command
     */
    checkHealth(): HealthCheckResult;
    /**
     * Check if target is a valid copy of source (Windows fallback check)
     */
    private isCopiedItem;
    /**
     * Sync delegation commands and skills to ~/.claude/ (used by 'ccs sync' command)
     * Same as install() but with explicit sync message
     */
    sync(): void;
}
export default ClaudeSymlinkManager;
//# sourceMappingURL=claude-symlink-manager.d.ts.map