import { type JsonLd } from '@atlaskit/json-ld-types';
import { type SmartLinkResponse } from '@atlaskit/linking-types';
import { type IconDescriptor } from './types';
/**
 * Extracts the provider icon and label from the given JSON-LD data.
 *
 * If the data is from Confluence, the icon will be the Confluence icon and the label will be 'Confluence'.
 * If the data is from Jira, the icon will be the Jira icon and the label will be 'Jira'.
 * If the data is from another provider, the icon and label will be extracted from the generator object.
 *
 * @param data - The JSON-LD data to extract the provider icon and label from.
 * @returns IconDescriptor with optional icon string name, url and label, or `undefined` if the data is not provided.
 */
declare const extractProviderIcon: (data?: JsonLd.Data.BaseData) => IconDescriptor | undefined;
export default extractProviderIcon;
/**
 * Should be moved to link-extractors when jsonLd is deprecated
 */
export declare const extractSmartLinkProviderIcon: (response?: SmartLinkResponse) => IconDescriptor | undefined;
