import type { ComponentPropsWithoutRef, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.js'; import type { ButtonColor, ButtonShape, ButtonSize, ButtonVariant } from './Button.types.js'; export interface ToggleButtonProps extends ComponentPropsWithoutRef<'button'> { /** Controlled pressed state. */ pressed?: boolean; /** Uncontrolled initial pressed state. */ defaultPressed?: boolean; /** Fires when the pressed state changes. */ onPressedChange?: (pressed: boolean) => void; variant?: Extract; color?: ButtonColor; size?: ButtonSize; shape?: ButtonShape; icon?: ReactNode; children?: ReactNode; /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } /** * Accessible toggle built on Radix's `Toggle` primitive. * Handles `aria-pressed` / `data-state` natively; CSS hooks into both. */ export declare const ToggleButton: import("react").ForwardRefExoticComponent>;