import type { ListState } from "@react-stately/list"; import { type RefObject } from "react"; import type { DOMAttributes, FocusableElement } from "@react-types/shared"; import type { ToolbarButtonsProps } from "./types"; export interface ToolbarButtonsAria { toolbarButtonsProps: DOMAttributes; isMeasuring: boolean; visibleItems: number; } export declare function useToolbarButtons(props: ToolbarButtonsProps, state: ListState, ref: RefObject): ToolbarButtonsAria;