export function dontRenderIfBothOnClickAndTo({ onClick, to }: { onClick: any; to: any; }): React.JSX.Element; import React from "react";