import { default as React } from 'react'; import { ButtonProps } from '../Button'; import { SplitButtonPopoverProps } from './SplitButtonPopover'; import { SplitButtonMenuProps } from './SplitButtonMenu'; interface SplitButtonProps extends ButtonProps { children: React.ReactElement | React.ReactElement; kind?: "primary" | "secondary" | "tertiary" | "tonal"; size?: "xs" | "s" | "m"; } /** * A button group of exactly two buttons - one primary action and a button * that triggers a popover for more options. * * `SplitButton` accepts the same props as `Button`. The popover behavior is * controlled by the `SplitButton.[subcomponent]` component passed as children. */ declare const SplitButton: { ({ kind, size, label, disabled, isLoading, isFullWidth, children, ...otherProps }: SplitButtonProps): React.JSX.Element; Popover: ({ children }: SplitButtonPopoverProps) => React.JSX.Element; Menu: ({ children }: { children: any; }) => React.JSX.Element; MenuItem: ({ label, startIcon, endIcon, onSelect, }: { label: any; startIcon: any; endIcon: any; onSelect: any; }) => React.JSX.Element; }; export default SplitButton; //# sourceMappingURL=index.d.ts.map