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