import { default as React } from 'react'; export interface AutocompleteModalProps { /** Input label */ inputLabel: string; /** Trigger element */ trigger: React.ReactNode | ((isActive: boolean) => React.ReactNode); /** AutocompleteModal.Item children */ children: React.ReactNode[]; /** Selection change event callback */ onChange?: (value: string) => void; /** Input change event callback - called with value of selected item */ onInputChange?: (value: string) => void; /** Optional pinned footer content; use for action buttons */ footerContent?: React.ReactNode; } /** * A simplified Combobox component that renders in a Popup. * Useful for inline editing of things like table items where we want to * provide an autocomplete of possible values. * * Allows single selection only. The selected value will be rendered in the * trigger area. */ declare const AutocompleteModal: { ({ inputLabel, children, trigger, onChange, onInputChange, footerContent, }: AutocompleteModalProps): React.JSX.Element; Item: { ({ children, value }: { children: any; value: any; }): React.JSX.Element; displayName: string; propTypes: { value: import('prop-types').Validator; searchValue: import('prop-types').Requireable; children: import('prop-types').Requireable>; }; }; }; export default AutocompleteModal; //# sourceMappingURL=index.d.ts.map