import { FC, MouseEventHandler, ReactNode } from "react";
interface NvChipProps {
/** If true, the component is disabled. */
disabled?: boolean;
/** Callback fired when the delete icon is clicked. */
onClose?: MouseEventHandler;
/** The additional CSS class for the wrapper element. */
className?: string;
/** The content of the component. */
children: ReactNode;
}
/**
* Functional component for rendering a chip with optional close button.
*
* @param {NvChipProps} props - The props for the NvChip component.
* @param {boolean} props.disabled - Indicates if the chip is disabled.
* @param {MouseEventHandler} props.onClose - Event handler for the close button click.
* @param {ReactNode} props.children - The content to be displayed within the chip.
* @param {string} props.className - Additional CSS class for styling purposes.
* @returns {ReactNode} A chip component with optional close button.
*/
declare const NvChip: FC;
export default NvChip;