/**
 * Removes the Next.js basePath from the provided destination if set.
 * @param to Destination route to navigate to
 * @returns Destination without basePath, if set
 */
export declare function removeBasePath(to: string): string;
//# sourceMappingURL=removeBasePath.d.ts.map