/** * Builds a relative path from one location to another, handling both file paths and/or directory paths * * @param {object} params * @param {string} params.from - The origin path (can be a file path or directory path) * @param {string} params.to - The destination path (can be a file path or directory path) * @returns {string} - The relative path from 'from' to 'to', including the filename if 'to' is a file path */ export function buildRelativePath({ from, to }: { from: string; to: string; }): string;