import React, { HTMLAttributes, Key } from 'react';
import { CSS } from '../../../utils/objectToCss';
import { DropdownItemProps } from '../item';
interface Props {
key: Key | null;
disabledKeys?: React.Key[];
focusKey?: React.Key;
currentKey?: React.Key;
type: 'heading' | 'color' | 'alignment';
item: React.DetailedReactHTMLElement;
onSelect: (key: React.Key) => void;
className?: string;
css?: CSS;
}
export type OptionProps = Props & Omit, keyof Props>;
declare const Option: React.ForwardRefExoticComponent, keyof Props> & React.RefAttributes>;
export default Option;