import { Alias } from 'vite'; import ServerConfig from "./server-config.js"; /** * Service for work with path and aliases */ declare class PathNormalize { /** * Vite resolve aliases */ protected readonly viteAliases?: Alias[]; /** * Server config */ protected readonly config: ServerConfig; /** * @constructor */ /** * @constructor */ constructor(config: ServerConfig, viteAliases?: Alias[]); /** * Get vite aliases */ /** * Get vite aliases */ getAliases(): Record; /** * Return filename postfix */ /** * Return filename postfix */ getImportPostfix(): string[]; /** * Resolve app path */ /** * Resolve app path */ getAppPath(appPath?: string, withRoot?: boolean): string | undefined; /** * Find app filepath */ /** * Find app filepath */ findAppFile(basePath: string): string | null; } export { PathNormalize as default };