import { AnalyticsConfig } from '@plitzi/sdk-shared'; export type AnalyticsReporterProps = { analytics?: AnalyticsConfig; }; /** * Renders nothing; reports what only the browser can see. * * It exists at all because the server sees a visit once — the SSR render, or the schema fetch of a * client-side render — and then never again, however long the visitor stays or however many routes they move * through. Those are this component's, along with named interactions. * * `firstViewCounted` is the seam between the two: when the server already counted this page load, the first * render here would be the same view a second time, so it is skipped and only subsequent routes are reported. */ declare const AnalyticsReporter: ({ analytics }: AnalyticsReporterProps) => null; export default AnalyticsReporter;