@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
26 lines (25 loc) • 947 B
TypeScript
/**
* Path Resolution Utility for CLI
*
* Converts relative file paths to absolute paths while preserving URLs.
* This ensures consistent file access regardless of the current working directory.
*/
/**
* Resolve a file path to an absolute path.
*
* - Relative paths (./images/chart.png, ../data/report.pdf) are resolved
* against the current working directory
* - Absolute paths (/home/user/file.txt, C:\\Users\\file.txt) are returned unchanged
* - URLs (http://..., https://...) are returned unchanged
*
* @param filePath - The file path to resolve
* @returns Resolved absolute path, or original URL/string
*/
export declare function resolveFilePath(filePath: string): string;
/**
* Resolve multiple file paths to absolute paths.
*
* @param filePaths - Array of file paths to resolve
* @returns Array of resolved absolute paths (or URLs unchanged)
*/
export declare function resolveFilePaths(filePaths: string[]): string[];