import { ReactNode } from 'react'; /** * @public * Component responsible for listening to location changes and calling * the visitsApi to save visits. */ export declare const VisitListener: ({ children, toEntityRef, visitName, }: { children?: ReactNode; toEntityRef?: ({ pathname }: { pathname: string; }) => string | undefined; visitName?: ({ pathname }: { pathname: string; }) => string; }) => JSX.Element;