import type { Config } from "../types/index.js"; /** * Initializes the data directory from the CLI flag, environment variable, or default. Must be called at startup before any config loading or path resolution. May * be called a second time with a CLI flag to override the initial resolution. * @param cliDataDir - Optional data directory from the --data-dir CLI flag. */ export declare function initializeDataDir(cliDataDir?: string): void; /** * Returns the resolved data directory. Throws if called before initializeDataDir(). * @returns The absolute path to the data directory. */ export declare function getDataDir(): string; /** * Returns the path to the user configuration file. * @returns The absolute path to config.json inside the data directory. */ export declare function getConfigFilePath(): string; /** * Returns the path to the user channels file. * @returns The absolute path to channels.json inside the data directory. */ export declare function getChannelsFilePath(): string; /** * Returns the path to the health state file. * @returns The absolute path to health.json inside the data directory. */ export declare function getHealthFilePath(): string; /** * Returns the path to the user profiles file. * @returns The absolute path to profiles.json inside the data directory. */ export declare function getProfilesFilePath(): string; /** * Returns the path to the HLS resume state file. * @returns The absolute path to hls-resume.json inside the data directory. */ export declare function getResumeFilePath(): string; /** * Returns the Chrome user data directory. When config.paths.chromeDataDir is set, that absolute path is used directly. Otherwise, the directory is built from the * data directory and the configured profile name. * @param config - The application configuration. * @returns The absolute path to the Chrome data directory. */ export declare function getChromeDataDir(config: Config): string; /** * Returns the extension directory path, built from the data directory and the configured extension directory name. * @param config - The application configuration. * @returns The absolute path to the extension directory. */ export declare function getExtensionDir(config: Config): string; /** * Returns the log file path. When config.paths.logFile is set, that absolute path is used directly. Otherwise, the default location inside the data directory is used. * @param config - The application configuration. * @returns The absolute path to the log file. */ export declare function getLogFilePath(config: Config): string;