/**
 * Auto-recovery for missing or corrupted configuration
 * Lazy initialization: Creates ~/.ccs/ structure on first CLI run
 * Mirrors postinstall.js behavior for package managers that skip lifecycle scripts (e.g., bun)
 */
/**
 * Recovery Manager Class
 */
declare class RecoveryManager {
    private readonly homedir;
    private readonly ccsDir;
    private readonly claudeDir;
    private readonly sharedDir;
    private readonly completionsDir;
    private recovered;
    constructor();
    /**
     * Ensure ~/.ccs/ directory exists
     */
    ensureCcsDirectory(): boolean;
    /**
     * Remove a dangling symlink so recovery can recreate the directory.
     * Mirrors scripts/postinstall.js behavior for skipped lifecycle installs.
     */
    private removeIfBrokenSymlink;
    private inspectDirectoryPath;
    /**
     * Ensure ~/.ccs/config.yaml exists with defaults
     * This is the primary config format (YAML unified config)
     */
    ensureConfigYaml(): boolean;
    /**
     * Ensure ~/.claude/settings.json exists
     */
    ensureClaudeSettings(): boolean;
    /**
     * Ensure ~/.ccs/shared/ directory structure exists
     */
    ensureSharedDirectories(): boolean;
    /**
     * Install shell completion files
     */
    ensureShellCompletions(): boolean;
    /**
     * Run all recovery operations (lazy initialization)
     * Mirrors postinstall.js behavior
     *
     * NOTE: GLM/Kimi profiles are NOT auto-created.
     * Users should create them via `ccs api create --preset glm|km` or the UI.
     */
    recoverAll(): boolean;
    /**
     * Get recovery summary
     */
    getRecoverySummary(): string[];
    /**
     * Show recovery hints
     */
    showRecoveryHints(): void;
}
export default RecoveryManager;
//# sourceMappingURL=recovery-manager.d.ts.map