import { FC } from "react";
import type { NvIconSizeType } from "./types";
interface NvIconProps {
/** The additional CSS class for the wrapper element. */
className?: string;
/** The name of the icon. Only alpha characters and dash are allowed. */
name?: string;
/** The exact path to an SVG file on a server. If used, it overrides the path formed by name prop and public path from NvPublicPathProvider. */
src?: string;
/** The size of the icon. */
size?: NvIconSizeType;
onClick?: () => void;
}
/**
* NvIcon component.
* Important! This component can work both within a context and without using it. (NvPublicPathProvider)
* @component
* @param {string} className - Additional class name for the component.
* @param {string} name - Name of the icon.
* @param {string} src - Source of the icon.
* @param {NvIconSizeType} size - Size of the icon.
* @returns {ReactNode} - NvIcon component.
*/
export declare const NvIcon: FC;
export default NvIcon;