declare function rerouteLinks(input: string, target: ((str: string) => string)): string; export default rerouteLinks;