import { ComponentWrapper, ElementWrapper } from '@cloudscape-design/test-utils-core/dom';
export declare class DropdownContentWrapper extends ComponentWrapper {
  static legacyRootSelector: string;
  /**
   * Returns the dropdown content.
   */
  findContent(): ElementWrapper | null;
  /**
   * Returns the dropdown header.
   */
  findHeader(): ElementWrapper | null;
  /**
   * Returns the dropdown footer.
   */
  findFooter(): ElementWrapper | null;
}
export default class DropdownWrapper extends ComponentWrapper {
  static rootSelector: string;
  /**
   * Returns the trigger element.
   */
  findTrigger(): ElementWrapper;
  /**
   * Returns the open dropdown wrapper, or null if the dropdown is closed.
   *
   * @param options
   * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag.
   */
  findOpenDropdown(options?: {
    expandToViewport: boolean;
  }): DropdownContentWrapper | null;
  /**
   * Returns whether the dropdown is open.
   *
   * @param options
   * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag.
   */
  isOpen(options?: {
    expandToViewport: boolean;
  }): boolean;
}