export default function getUrlPartBetween({ url, firstPart, secondPart, }: { url: string; firstPart: string; secondPart?: string; }): string;