import { type AriaAttributes, type AriaRole, type MutableRefObject, type ReactNode, type RefObject } from "react"; import { type IButtonAccessibilityConfig } from "../Button/typings.js"; import { type Alignment, type OverlayPositionType } from "../typings/overlay.js"; import { type IAlignPoint } from "../typings/positioning.js"; export declare const DROPDOWN_BODY_CLASS = "dropdown-body"; /** * @internal */ export interface IDropdownButtonRenderProps { isMobile: boolean; isOpen: boolean; dropdownId: string; buttonRef: MutableRefObject; openDropdown: () => void; closeDropdown: () => void; toggleDropdown: (desiredState?: unknown) => void; /** * Props supporting accessibility that can be just passed through to the rendered element */ ariaAttributes: { role: AriaRole; } & Pick; /** * Props supporting accessibility that can be passed down to a