import * as React from 'react';
import { BaseUIComponentProps, Orientation } from '../../utils/types.js';
/**
* A container for grouping a set of controls, such as buttons, toggle groups, or menus.
* Renders a `
` element.
*
* Documentation: [Base UI Toolbar](https://base-ui.com/react/components/toolbar)
*/
declare const ToolbarRoot: React.ForwardRefExoticComponent>;
export interface ToolbarItemMetadata {
focusableWhenDisabled: boolean;
}
declare namespace ToolbarRoot {
type State = {
disabled: boolean;
orientation: Orientation;
};
interface Props extends BaseUIComponentProps<'div', State> {
/**
* The number of columns. When greater than 1, the toolbar is arranged into
* a grid.
* @default 1
*/
cols?: number;
disabled?: boolean;
/**
* The orientation of the toolbar.
* @default 'horizontal'
*/
orientation?: Orientation;
/**
* If `true`, using keyboard navigation will wrap focus to the other end of the toolbar once the end is reached.
*
* @default true
*/
loop?: boolean;
}
}
export { ToolbarRoot };