import { MouseEvent, ReactNode } from 'react';
import { BoxProps } from '../box/Box';
import { GenericComponent } from '../../@types/types';
import { SIZES } from '../../constants';
interface SplitButtonProps extends Omit<BoxProps, 'children' | 'size'> {
    /** The MenuItems we pass to our component. */
    children: ReactNode;
    /** Determines which kind of button to be rendered. */
    level?: 'primary' | 'secondary' | 'destructive';
    /** Size of the button. */
    size?: Exclude<typeof SIZES[number], 'tiny' | 'fullscreen' | 'smallest' | 'hero'>;
    /** The function executed, when we click on the main button. */
    onButtonClick: (event: MouseEvent<HTMLElement>) => void;
    /** The function executed, when we click on the secondary button. */
    onSecondaryButtonClick?: (event: MouseEvent<HTMLElement>) => void;
    /** If true, component will be disabled. */
    disabled?: boolean;
}
declare const SplitButton: GenericComponent<SplitButtonProps>;
export default SplitButton;
