/**
 * Find the project root directory by looking for package.json
 *
 * This function walks up the directory tree from the current file location
 * until it finds a directory containing package.json. This works reliably
 * whether the code is running via ts-node or from compiled JavaScript.
 *
 * @param startPath - Starting directory (defaults to __dirname of this file)
 * @returns Absolute path to the project root directory
 * @throws Error if package.json cannot be found
 */
export declare function getProjectRoot(startPath?: string): string;
/**
 * Get absolute path to a file/directory relative to project root
 *
 * @param relativePath - Path relative to project root (e.g., 'src/assets/script.sh')
 * @returns Absolute path to the file/directory
 *
 * @example
 * const scriptPath = getProjectPath('src/modules/instances/assets/scripts/flui-init.sh');
 */
export declare function getProjectPath(...relativePath: string[]): string;
