import React, { MouseEvent, KeyboardEvent } from 'react';
import { DropdownSelectbox, DropdownSelectboxTriggerOptions, DropdownMenuOption, SelectboxSelectedItem } from './types';
import './dropdown-trigger.less';
export type DropdownSelectboxTriggerProps = {
    hasErrored?: boolean;
    hasSuccess?: boolean;
    hasWarnings?: boolean;
    isDisabled?: boolean;
    /**  handler that represents whether dropdown is currently open */
    isOpen?: boolean;
    /**  action to perform on trigger click */
    onClick?: (e: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>, isKeyEvent?: boolean) => void;
    /** If provided, item's title will be shown instead of defaultTriggerText */
    selectedItem?: SelectboxSelectedItem;
    options?: Array<DropdownMenuOption>;
    triggerOptions?: DropdownSelectboxTriggerOptions;
    selectbox?: DropdownSelectbox;
    isSectioned?: boolean;
    isOptional?: boolean;
    optionalLabelText?: string;
};
declare const DropdownSelectboxTrigger: React.ForwardRefExoticComponent<DropdownSelectboxTriggerProps & React.RefAttributes<HTMLButtonElement>>;
export default DropdownSelectboxTrigger;
