import React from 'react'; import type { getResolvedAttributes } from '@atlaskit/link-analytics/get-resolved-attributes'; import { type context } from './analytics'; export type SmartLinkAnalyticsContextProps = { children?: React.ReactNode; display?: string; id?: string | undefined; source?: string; url: string; }; export type SmartLinkAnalyticsContextType = { attributes?: typeof context & ReturnType & { display?: string; id?: string; }; source?: string; }; /** * Provides an analytics context to supply attributes to events based on a URL * and the link state in the store */ export declare const SmartLinkAnalyticsContext: ({ children, display, id, source, url, }: SmartLinkAnalyticsContextProps) => React.JSX.Element;