import type { FunctionComponent } from 'react';
import { DropdownProps, DropdownToggleProps, PopperOptions, MenuSearchInputProps, SearchInputProps, MenuSearchProps } from '@patternfly/react-core';
export interface AttachMenuProps extends DropdownProps {
    /** Items in menu */
    filteredItems: React.ReactNode;
    /** A callback for when the input value changes. */
    handleTextInputChange?: (value: string) => void;
    /** Flag to indicate if menu is opened. */
    isOpen: boolean;
    /** Additional properties to pass to the Popper */
    popperProps?: PopperOptions;
    /** Callback to change the open state of the menu. Triggered by clicking outside of the menu. */
    onOpenChange: (isOpen: boolean) => void;
    /** Keys that trigger onOpenChange, defaults to tab and escape. It is highly recommended to include Escape in the array, while Tab may be omitted if the menu contains non-menu items that are focusable. */
    onOpenChangeKeys?: string[];
    /** Function callback called when user selects item. */
    onSelect?: (event?: React.MouseEvent<Element, MouseEvent>, value?: string | number) => void;
    /** Placeholder for search input */
    searchInputPlaceholder?: string;
    /** Aria label for search input */
    searchInputAriaLabel?: string;
    /** Toggle to be rendered */
    toggle: DropdownToggleProps | ((toggleRef: React.RefObject<any>) => React.ReactNode);
    /** Additional props passed to MenuSearch component */
    menuSearchProps?: Omit<MenuSearchProps, 'ref'>;
    /** Additional props passed to MenuSearchInput component */
    menuSearchInputProps?: Omit<MenuSearchInputProps, 'ref'>;
    /** Additional props passed to SearchInput component */
    searchInputProps?: SearchInputProps;
}
export declare const AttachMenu: FunctionComponent<AttachMenuProps>;
export default AttachMenu;
