import React from 'react';
import { IElementOrIcon } from './types/elementOrIcon';
/**
 * ElementOrIcon component is a component that can be used to display either an element or an icon.
 * It offers flexibility in rendering either icons or more complex components within a given context.
 * @param {IElementOrIcon} props
 * @returns {JSX.Element}
 * @constructor
 * @example
 * <ElementOrIcon icon="icon" />
 * <ElementOrIcon icon={<Icon icon="icon" />} />
 * <ElementOrIcon icon={<Button variant="primary">Button</Button>} />
 */
export declare const ElementOrIcon: React.ForwardRefExoticComponent<IElementOrIcon & React.RefAttributes<HTMLSpanElement>>;
