@puberty-labs/clits
Version:
CLiTS (Chrome Logging and Inspection Tool Suite) is a powerful Node.js library for AI-controlled Chrome browser automation, testing, and inspection. Features enhanced CSS selector support (:contains(), XPath), dry-run mode, element discovery tools, and co
31 lines (30 loc) • 723 B
TypeScript
export declare class PathResolver {
private static instance;
private baseDir;
private projectRoot;
private constructor();
static getInstance(): PathResolver;
/**
* Resolves a path relative to the project root
*/
resolvePath(path: string): string;
/**
* Resolves a module path and verifies it exists
*/
resolveModule(modulePath: string): string;
/**
* Gets the project root directory
*/
getProjectRoot(): string;
/**
* Gets the source directory
*/
getSourceDir(): string;
/**
* Validates if a path exists and is accessible
*/
validatePath(path: string): {
exists: boolean;
error?: string;
};
}