import * as React from 'react'; import { type ToggleProps as TogglePrimitiveProps, toggleVariants } from '../../../ui/toggle.js'; import { type ToggleGroupItemProps as ToggleGroupItemPrimitiveProps, type ToggleGroupProps as ToggleGroupPrimitiveProps } from '../../../ui/toggle-group.js'; export interface ToggleProps extends Omit { /** Visual appearance of the toggle */ variant?: TogglePrimitiveProps['variant']; /** Height and horizontal padding of the toggle */ size?: TogglePrimitiveProps['size']; label?: string; /** Controlled pressed state. When provided, component is controlled. */ pressed?: boolean; /** Initial pressed state for uncontrolled mode */ defaultPressed?: boolean; /** Callback when pressed state changes */ onPressedChange?: (pressed: boolean) => void; /** Required aria-label for icon-only toggles (when no text children) */ 'aria-label'?: string; } declare function Toggle({ label, className, variant, size, pressed: controlledPressed, defaultPressed, onPressedChange, ...props }: ToggleProps): React.JSX.Element; declare namespace Toggle { var displayName: string; } export interface ToggleGroupProps extends Omit { label?: string; /** Spacing between items (0 for connected group) */ spacing?: number; /** Orientation of the group */ orientation?: 'horizontal' | 'vertical'; /** Shape of the connected group corners */ shape?: 'rounded' | 'round'; /** Controlled value. When provided, component is controlled. */ value?: readonly string[]; /** Initial selected value(s) for uncontrolled mode */ defaultValue?: readonly string[]; /** Callback when value changes */ onValueChange?: (value: readonly string[]) => void; } declare function ToggleGroup({ label, className, children, variant, size, spacing, orientation, shape, value: controlledValue, defaultValue, onValueChange, ...props }: ToggleGroupProps): React.JSX.Element; declare namespace ToggleGroup { var displayName: string; } export interface ToggleGroupItemProps extends ToggleGroupItemPrimitiveProps { } declare function ToggleGroupItem({ className, children, variant, size, ...props }: ToggleGroupItemProps): React.JSX.Element; declare namespace ToggleGroupItem { var displayName: string; } export { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants };