import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
import { VariantProps } from 'class-variance-authority';
import { toggleVariants } from './toggle';
type ToggleGroupProps = ToggleGroupPrimitive.Props & VariantProps<typeof toggleVariants> & {
    /** Gap between items in spacing units. Set to 0 for joined buttons. @default 0 */
    spacing?: number;
    /** Layout direction of the toggle group. @default "horizontal" */
    orientation?: "horizontal" | "vertical";
};
/**
 * Container for a group of toggle buttons that share state. Supports both single and multiple selection modes.
 *
 * By default, the toggle group allows multiple selection. Use `multiple={false}` for single selection.
 * All items inherit variant and size from the group unless explicitly overridden.
 */
declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: ToggleGroupProps): import("react/jsx-runtime").JSX.Element;
type ToggleGroupItemProps = TogglePrimitive.Props & VariantProps<typeof toggleVariants>;
/**
 * Individual toggle button within a ToggleGroup. Inherits variant and size from parent group context.
 *
 * When spacing={0}, items are joined together with shared borders. Use `aria-label` for icon-only buttons.
 */
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ToggleGroupItemProps): import("react/jsx-runtime").JSX.Element;
export { ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleGroupItemProps, };
//# sourceMappingURL=toggle-group.d.ts.map