/**
 * GROK_HOME - Centralized configuration directory management
 *
 * Supports the GROK_HOME environment variable to customize the location
 * of Grok CLI configuration files and data (like VIBE_HOME in Mistral Vibe).
 *
 * Default: ~/.codebuddy/
 *
 * Usage:
 *   export GROK_HOME="/path/to/custom/home"
 *   grok "your prompt"
 *
 * Directory structure:
 *   $GROK_HOME/
 *   ├── config.toml          # Configuration file
 *   ├── user-settings.json   # User settings
 *   ├── .env                 # API keys
 *   ├── codebuddy.db              # SQLite database
 *   ├── agents/              # Custom agents
 *   ├── prompts/             # Custom system prompts
 *   ├── commands/            # Custom slash commands
 *   ├── themes/              # Custom themes
 *   ├── personas/            # AI personas
 *   ├── memory/              # Persistent memory
 *   ├── sessions/            # Session data
 *   ├── checkpoints/         # File checkpoints
 *   ├── tasks/               # Background tasks
 *   ├── branches/            # Conversation branches
 *   ├── cache/               # Cache data
 *   └── logs/                # Log files
 */
/**
 * Get the GROK_HOME directory path
 *
 * Priority:
 * 1. GROK_HOME environment variable
 * 2. ~/.codebuddy/ (default)
 */
export declare function getCodeBuddyHome(): string;
/**
 * Get a path within GROK_HOME
 *
 * @param relativePath - Path relative to GROK_HOME (e.g., 'agents', 'config.toml')
 * @returns Absolute path
 */
export declare function getGrokPath(...relativePath: string[]): string;
/**
 * Get the agents directory path
 */
export declare function getAgentsDir(): string;
/**
 * Get the prompts directory path
 */
export declare function getPromptsDir(): string;
/**
 * Get the commands directory path
 */
export declare function getCommandsDir(): string;
/**
 * Get the themes directory path
 */
export declare function getThemesDir(): string;
/**
 * Get the database path
 */
export declare function getDatabasePath(): string;
/**
 * Get the user settings path
 */
export declare function getUserSettingsPath(): string;
/**
 * Get the sessions directory path
 */
export declare function getSessionsDir(): string;
/**
 * Get the memory directory path
 */
export declare function getMemoryDir(): string;
/**
 * Get the checkpoints directory path
 */
export declare function getCheckpointsDir(): string;
/**
 * Get the cache directory path
 */
export declare function getCacheDir(): string;
/**
 * Get the tasks directory path
 */
export declare function getTasksDir(): string;
/**
 * Get the branches directory path
 */
export declare function getBranchesDir(): string;
/**
 * Get the personas directory path
 */
export declare function getPersonasDir(): string;
/**
 * Get the offline data directory path
 */
export declare function getOfflineDir(): string;
/**
 * Ensure GROK_HOME directory exists
 */
export declare function ensureCodeBuddyHome(): void;
/**
 * Ensure a subdirectory exists within GROK_HOME
 */
export declare function ensureGrokDir(...relativePath: string[]): string;
/**
 * Check if custom GROK_HOME is set
 */
export declare function isCustomCodeBuddyHome(): boolean;
/**
 * Format GROK_HOME info for display
 */
export declare function formatCodeBuddyHomeInfo(): string;
