import { FunctionComponent } from 'react'; import { LabelProps } from '@patternfly/react-core/dist/esm/components/Label'; import { MenuToggleProps } from '@patternfly/react-core/dist/esm/components/MenuToggle'; import { SelectOptionProps, SelectProps } from '@patternfly/react-core/dist/esm/components/Select'; export interface MultiTypeaheadSelectOption extends Omit { /** Content of the select option. */ content: string | number; /** Value of the select option. */ value: string | number; } export interface MultiTypeaheadSelectProps extends Omit { /** @hide Forwarded ref */ innerRef?: React.Ref; /** Initial options of the select. */ initialOptions: MultiTypeaheadSelectOption[]; /** Callback triggered on selection. */ onSelectionChange?: (_event: React.MouseEvent | React.KeyboardEvent, selections: (string | number)[]) => void; /** Callback triggered when the select opens or closes. */ onToggle?: (nextIsOpen: boolean) => void; /** Callback triggered when the text in the input field changes. */ onInputChange?: (newValue: string) => void; /** Custom callback triggered when the input field has focus and a keyboard event is triggered. * This will override the default keydown behavior for the input field. */ onInputKeyDown?: (event: React.KeyboardEvent) => void; /** Placeholder text for the select input. */ placeholder?: string; /** Message to display when no options match the filter. */ noOptionsFoundMessage?: string | ((filter: string) => string); /** Flag indicating the select should be disabled. */ isDisabled?: boolean; /** Width of the toggle. */ toggleWidth?: string; /** Additional props passed to the toggle. */ toggleProps?: MenuToggleProps; /** Additional props passed to each label of the selected option. */ labelProps?: LabelProps; /** Initial value of the typeahead text input. */ initialInputValue?: string; } export declare const MultiTypeaheadSelectBase: FunctionComponent; export declare const MultiTypeaheadSelect: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=MultiTypeaheadSelect.d.ts.map