import { PropsWithChildren } from 'react';
import { ButtonProps } from './Button';
type NonLinkButtonProps = Exclude<ButtonProps, {
    as: 'a';
}>;
export type ToggleButtonProps = Omit<NonLinkButtonProps, 'onClick' | 'asToggle'> & {
    /**
     * Callback function triggered when clicking the button.
     * @param value The new value of the toggle button.
     */
    onClick?: (value: boolean) => void;
};
declare const ToggleButton: (props: PropsWithChildren<ToggleButtonProps>) => import("react/jsx-runtime").JSX.Element;
export default ToggleButton;
