import { default as React, ReactNode } from 'react'; import { ToolbarProps as CoreToolbarProps } from '../../.deps/ui/core-web/src'; import { SafePick } from '../../.deps/utils/src'; import { ToolbarGroup } from './ToolbarGroup'; export type { ToolbarGroupOwnProps, ToolbarGroupProps } from './ToolbarGroup'; export interface ToolbarOwnProps { /** * Accessible label for the toolbar. * Either `label` or `labeledBy` must be provided. */ label?: string; /** * ID of an element that labels the toolbar. * Either `label` or `labeledBy` must be provided. */ labeledBy?: string; /** * Orientation of the toolbar, controls the layout direction and overflow axis. * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; children?: ReactNode; } export interface ToolbarProps extends ToolbarOwnProps, SafePick { } export declare const Toolbar: (({ label, labeledBy, orientation, children, ref, ...rest }: ToolbarProps) => React.JSX.Element) & { Group: typeof ToolbarGroup & { displayName: string; }; };