/**
 * Path resolution utilities for CLIProxy directories and files
 * Centralizes all path management for CLIProxy configuration
 */
import type { CLIProxyProvider } from '../types';
/**
 * Get CLIProxy base directory
 * All CLIProxy-related files are stored under ~/.ccs/cliproxy/
 */
export declare function getCliproxyDir(): string;
/**
 * Get CLIProxy provider settings directory.
 */
export declare function getCliproxyProvidersDir(): string;
/**
 * Get CLIProxy writable directory for logs and runtime files.
 * This directory is set as WRITABLE_PATH env var when spawning CLIProxy.
 * Logs will be stored in ~/.ccs/cliproxy/logs/
 */
export declare function getCliproxyWritablePath(): string;
/**
 * Get base auth directory for CLIProxyAPI
 */
export declare function getAuthDir(): string;
/**
 * Get auth directory for provider
 * All providers use a FLAT auth directory structure for unified config.
 * CLIProxyAPI stores OAuth tokens directly in auth/ (not subdirectories).
 * This enables all providers to be discovered and used concurrently.
 */
export declare function getProviderAuthDir(_provider: CLIProxyProvider): string;
/**
 * Get config file path for a specific port.
 * Default port uses config.yaml, others use config-{port}.yaml.
 */
export declare function getConfigPathForPort(port: number): string;
/**
 * Get CLIProxy config file path (default port)
 * Named distinctly from config-manager's getConfigPath to avoid confusion.
 */
export declare function getCliproxyConfigPath(): string;
/**
 * Get binary directory path
 */
export declare function getBinDir(): string;
/**
 * Get path to user settings file for provider
 * Example: ~/.ccs/gemini.settings.json
 */
export declare function getProviderSettingsPath(provider: CLIProxyProvider): string;
/**
 * Get CLIProxy provider settings path in the dedicated cliproxy/providers namespace.
 * Used only for providers that must not collide with legacy top-level settings files.
 */
export declare function getDedicatedProviderSettingsPath(provider: CLIProxyProvider): string;
/**
 * Get legacy provider settings file path in ~/.ccs root.
 * This is kept for compatibility reads/migration of older provider settings.
 */
export declare function getLegacyProviderSettingsPath(provider: CLIProxyProvider): string;
/**
 * Resolve the effective provider settings path.
 *
 * Cursor uses a dedicated cliproxy/providers namespace so it does not collide
 * with the deprecated Cursor IDE bridge raw settings file.
 */
export declare function migrateLegacyProviderSettingsIfNeeded(provider: CLIProxyProvider): string;
//# sourceMappingURL=path-resolver.d.ts.map