import { HTMLAttributes, ReactNode } from 'react';
interface ToggleGroupContextValue {
    value: string;
    onValueChange: (value: string) => void;
}
export declare function useToggleGroup(): ToggleGroupContextValue;
export interface ToggleGroupProps extends HTMLAttributes<HTMLDivElement> {
    /** Name of the currently active toggle. */
    value: string;
    /** Called with the new value when a toggle is selected. */
    onValueChange: (value: string) => void;
    /** Accessible label for the group. */
    "aria-label"?: string;
    children?: ReactNode;
}
/**
 * Mutually-exclusive group of toggle buttons for in-place option selection.
 *
 * Mirrors `AdwToggleGroup` (libadwaita 1.7 / GNOME 48).
 *
 * Use for formatting controls, view-mode selectors, and toolbar options —
 * wherever a `ViewSwitcher` would be too heavy or is not placed in a HeaderBar.
 *
 * Compose with `ToggleGroupItem`. Keyboard: ← / → cycle, Home / End jump.
 *
 * @see https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.ToggleGroup.html
 */
export declare function ToggleGroup({ value, onValueChange, "aria-label": ariaLabel, children, className, ...props }: ToggleGroupProps): import("react/jsx-runtime").JSX.Element;
export {};
