export default function sanitizePath(path: string, joinWith?: string): string;