/** * Project Path and Directory Management * Constants and helpers for managing the local server and project filesystem structure. * * Provides: * - PROJECT_ROOT: Resolution for the server install directory. * - LOCKS_DIR: Location for physical UART semaphore files. * - LOGS_DIR: Location for build and serial monitor trace files. * - ensureDir: Generic directory creation helper. * - ensureLocksDir: Specific helper for internal locks. * - sanitizePortName: Filename-safe transformation for serial paths. */ export declare const PROJECT_ROOT: string; export declare const SERVER_DATA_DIR: string; export declare const GLOBAL_LOCKS_DIR: string; /** * Ensures a directory exists. */ export declare function ensureDir(dir: string): void; /** * Ensures the global directories exist. */ export declare function ensureGlobalDirs(): void; /** * Sanitizes a serial port path into a safe filename component. * e.g. /dev/cu.usbserial-110 -> dev_cu_usbserial-110 * * @param port - The serial port path * @returns A safe string for use in filenames */ export declare function sanitizePortName(port: string): string; //# sourceMappingURL=paths.d.ts.map