import * as React from 'react'; import type { Orientation } from "../../utils/types.js"; import type { CompositeMetadata } from "../../composite/list/CompositeList.js"; import type { ToolbarRoot } from "./ToolbarRoot.js"; export interface ToolbarRootContext { disabled: boolean; orientation: Orientation; setItemMap: React.Dispatch | null>>>; } export declare const ToolbarRootContext: React.Context; export declare function useToolbarRootContext(optional?: false): ToolbarRootContext; export declare function useToolbarRootContext(optional: true): ToolbarRootContext | undefined;