UNPKG

@incubrain/helpers

Version:
25 lines (24 loc) 586 B
interface PathOptions { isDocker: boolean; projectRoot?: string; appName: string; } export declare class PathManager { private readonly root; private readonly isDocker; private readonly appName; constructor(options: PathOptions); private determineProjectRoot; get paths(): { root: string; logs: string; config: string; data: string; temp: string; cache: string; }; ensureDirectories(): void; resolvePath(...segments: string[]): string; static isRunningInDocker(): boolean; } export {};