export type DropdownContextState = { /** * Control de Dropdown state as Opened (true) or Closed (false). */ isOpen: boolean; /** * Reference to DropdownButton, used to calculate a position for the DropdownMenu. */ dropdownTriggerRef: React.MutableRefObject | null; /** * Reference to a selected DropdownItem, used to manipulate focus. */ selectedDropdownItemIndexRef: React.MutableRefObject | null; /** * Array of References to dropdownItems in a DropdownMenu. */ dropdownItemsRef: React.MutableRefObject | null; /** * Function responsible for close the DropdownMenu in this context. */ close?(): void; /** * Function responsible for open the DropdownMenu in this context. */ open?(): void; /** * Function responsible for switch the the DropdownMenu state in this context. */ toggle?(): void; /** * Identifier to be used in aria-controls */ id: string; /** * Associates the dropdown trigger element's ref for managing its position and interaction events. */ addDropdownTriggerRef?(ref: T | null): void; }; declare const DropdownContext: import('react').Context>; export default DropdownContext; //# sourceMappingURL=DropdownContext.d.ts.map