import { type JsonLd } from '@atlaskit/json-ld-types';
import { type CardProviderRenderers } from '@atlaskit/link-provider';
import type { SmartLinkResponse } from '@atlaskit/linking-types';
import { IconType, SmartLinkStatus } from '../../../constants';
export declare const extractLinkIcon: (response: JsonLd.Response, renderers?: CardProviderRenderers) => {
    icon?: IconType;
    label?: string;
    render: (() => React.ReactNode) | undefined;
    url?: string;
};
export declare const extractErrorIcon: (response?: JsonLd.Response, status?: SmartLinkStatus) => {
    icon: IconType | undefined;
    url: string | undefined;
} | {
    icon: IconType;
    url?: undefined;
};
/**
 * Should be moved to link-extractors when jsonLd is deprecated
 */
export declare const extractSmartLinkIcon: (response?: SmartLinkResponse, renderers?: CardProviderRenderers) => {
    icon?: IconType;
    label?: string;
    render: (() => React.ReactNode) | undefined;
    url?: string;
} | {
    label: string | undefined;
    url: string | undefined;
} | undefined;
