export declare class PathResolver {
    private packageRoot;
    constructor();
    getScriptPath(scriptName: string, externalDir?: string): Promise<string>;
    getProjectBasePath(configuredPath?: string): string;
    private findInNodeModulesAsync;
    private findInNodeModules;
    isScriptAvailableAsync(scriptPath: string): Promise<boolean>;
    isScriptAvailable(scriptPath: string): boolean;
    getAllScriptPathsAsync(externalDir?: string): Promise<Record<string, string | null>>;
    getAllScriptPaths(externalDir?: string): Record<string, string | null>;
    isPathSafe(targetPath: string, basePath: string): boolean;
    private validatePathSecurity;
    validateAndResolvePath(projectPath: string, relativePath: string): string;
    safeCreateDirectoryAsync(projectPath: string, relativePath: string): Promise<string>;
    safeCreateDirectory(projectPath: string, relativePath: string): string;
    private fileExistsAsync;
    getScriptPathSync(scriptName: string, externalDir?: string): string;
}
