import * as React from 'react'; import type { ToggleGroupOrientation } from './ToggleGroup.js'; export interface ToggleGroupContext { value: readonly any[]; setGroupValue: (newValue: string, nextPressed: boolean, event: Event) => void; disabled: boolean; orientation: ToggleGroupOrientation; } export declare const ToggleGroupContext: React.Context; export declare function useToggleGroupContext(optional?: boolean): ToggleGroupContext | undefined;