import { ComponentProps as ComponentProps$1 } from "../utils/types/ComponentProps.js";
import { OverlayProps } from "../Overlay/Overlay.js";
import React from "react";

//#region src/Autocomplete/AutocompleteOverlay.d.ts
type AutocompleteOverlayInternalProps = {
  /**
   * The ref of the element that the position of the menu is based on. By default, the menu is positioned based on the text input
   */
  menuAnchorRef?: React.RefObject<HTMLElement>;
  /**
   * Props to be spread on the internal `Overlay` component.
   */
  overlayProps?: Partial<OverlayProps>;
  children?: React.ReactNode;
} & Partial<OverlayProps> & Pick<React.AriaAttributes, 'aria-labelledby'>;
declare function AutocompleteOverlay({
  menuAnchorRef,
  overlayProps: oldOverlayProps,
  children,
  className,
  ...newOverlayProps
}: AutocompleteOverlayInternalProps): React.JSX.Element | null;
declare namespace AutocompleteOverlay {
  var displayName: string;
  var __SLOT__: symbol;
}
type AutocompleteOverlayProps = ComponentProps$1<typeof AutocompleteOverlay>;
//#endregion
export { AutocompleteOverlayProps, AutocompleteOverlay as default };