import * as react from 'react'; import { ReactNode, SyntheticEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { AbstractIconButtonProps } from './IconButton.js'; import { OmitInternalProps } from '../../shared/src/types.js'; import { ToggleButtonVariant } from './useToggleButton.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../styling/src/useResponsiveValue.js'; import '../../styling/src/BreakpointProvider.js'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../shared/src/size.js'; import './useButton.js'; import '../../shared/src/useMergedRefs.js'; declare const DefaultElement = "button"; interface InnerToggleIconButtonProps extends Omit, "onChange" | "variant"> { /** * A controlled checked value. */ checked?: boolean | null; /** * React children. */ children: ReactNode; /** * The initial value of `checked` when uncontrolled. */ defaultChecked?: boolean; /** * Called when the button checked state change. * @param {SyntheticEvent} event - React's original event. * @param {bool} isChecked - Whether the button is checked. * @returns {void} */ onChange?: (event: SyntheticEvent, isChecked: boolean) => void; /** * The value to associate with when in a group. */ value?: string; /** * The style to use. */ variant?: ToggleButtonVariant; } declare function InnerToggleIconButton(props: InnerToggleIconButtonProps): react_jsx_runtime.JSX.Element; declare namespace InnerToggleIconButton { var defaultElement: string; } /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/button--default-story) */ declare const ToggleIconButton: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type ToggleIconButtonProps = ComponentProps; export { InnerToggleIconButton, type InnerToggleIconButtonProps, ToggleIconButton, type ToggleIconButtonProps };