import type { Option, PickClassStyleType, ReactPropsBase, SchemaClassName } from 'jamis-core';
import type { InputBoxProps, TooltipObject } from '../types';
export interface ResultBoxProps extends ReactPropsBase, Omit<InputBoxProps, 'result' | 'prefix' | 'onChange'>, PickClassStyleType {
    result?: Array<any> | any;
    /** 是否允许输入 */
    allowInput?: boolean;
    /**
     * 是否出现下拉箭头图标
     */
    maxTagCount?: number;
    hasDropDownArrow?: boolean;
    overflowTagPopover?: TooltipObject;
    actions?: JSX.Element | JSX.Element[];
    /** 外层的打开状态, 默认为false. 仅用在如treeselect组件等场景下*/
    isOutterOpen?: boolean;
    inputClassName?: SchemaClassName;
    valueWrapClassName?: SchemaClassName;
    valueClassName?: SchemaClassName;
    containerRef?: React.RefObject<HTMLElement> | ((ref: HTMLElement) => void);
    setInputRef?: (ref: React.RefObject<HTMLInputElement>) => void;
    itemRender?: (value: any) => JSX.Element | string;
    onChange?: (value: string) => void;
    onResultClick?: (e: React.MouseEvent<HTMLElement>) => void;
    onResultChange?: (value: Array<any>, changedOption?: Option) => void;
    onClear?: (e: React.MouseEvent<HTMLElement>) => void;
}
