import { PrivateConfigClass } from '../common/config/private/PrivateConfigClass'; export declare class ProjectPathClass { Root: string; ImageFolder: string; TempFolder: string; TranscodedFolder: string; FacesFolder: string; FrontendFolder: string; ExtensionFolder: string; DBFolder: string; private cfg; init(cfg: PrivateConfigClass): void; normalizeRelative(pathStr: string): string; getAbsolutePath(pathStr: string): string; getRelativePathToImages(pathStr: string): string; /** * Checks if pathStr (absolute or relative to ImageFolder) stays inside ImageFolder. * Pure string check, no disk access. */ isInsideImageFolder(pathStr: string): boolean; /** * Resolves a path from a request (relative to ImageFolder, even with a leading '/') to an absolute path. * Returns null if it would point outside of ImageFolder. Pure string check, no disk access. * Use it wherever a request path reaches the disk: the check sits next to the use, * so it also holds for callers that skip AuthenticationMWs.normalizePathParam (and CodeQL can see it). */ resolveInImageFolder(relativePath: string): string | null; reset(): void; } export declare const ProjectPath: ProjectPathClass;