/** * Copyright IBM Corp. 2016, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import type { TranslateWithId } from '../../../types/common'; declare const translationIds: { readonly 'close.menu': "close.menu"; readonly 'open.menu': "open.menu"; }; type TranslationKey = keyof typeof translationIds; export interface ListBoxTriggerProps extends React.ButtonHTMLAttributes, TranslateWithId { /** * Specify whether the menu is currently open, which will influence the * direction of the menu icon */ isOpen: boolean; } /** * `ListBoxTrigger` is used to orient the icon up or down depending on the * state of the menu for a given `ListBox` */ declare const ListBoxTrigger: React.ForwardRefExoticComponent>; export default ListBoxTrigger;