import * as React from 'react'; import { BaseProps } from "../../../utils/types"; import { OptionType, IconType } from "../../../common.type"; import { ContextProps } from "./ComboboxContext"; export declare type ComboboxInputSize = 'tiny' | 'regular' | 'large'; export interface ComboboxProps extends BaseProps { multiSelect?: boolean; children: React.ReactNode | ((contextProp: ContextProps) => React.ReactNode); maxHeight?: number; minHeight?: number; width?: number; onChange?: (option?: OptionType | OptionType[]) => void; onSearch?: (value?: string) => void; value?: OptionType; chipValue?: OptionType[]; placeholder?: string; disabled?: boolean; error?: boolean; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; onClear?: (event: React.MouseEvent | React.KeyboardEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; icon?: string; iconType?: IconType; size?: ComboboxInputSize; clearButton?: boolean; computeStyles?: object; className?: string; 'aria-label'?: string; 'aria-labelledby'?: string; 'aria-describedby'?: string; 'aria-errormessage'?: string; } export declare const Combobox: { (props: ComboboxProps): React.JSX.Element; List: { (props: import("./ComboboxList").ComboboxListProps): React.JSX.Element; defaultProps: { type: string; showDivider: boolean; tagName: string; size: string; }; }; Option: { (props: import("./ComboboxOption").ComboboxOptionProps): React.JSX.Element; defaultProps: { tagName: string; }; }; }; export default Combobox;