import React 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?: React.ReactNode; toEntityRef?: (({ pathname }: { pathname: string; }) => string | undefined) | undefined; visitName?: (({ pathname }: { pathname: string; }) => string) | undefined; }) => JSX.Element;