import React from "react";
import { type InputBaseProps, type ViewMode, type WithDifference } from "../../../../scalars/components/types.js";
export type ToggleBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof InputBaseProps<boolean> | "onChange">;
interface ToggleProps extends ToggleBaseProps, Omit<WithDifference<boolean>, "diffMode" | "viewMode">, InputBaseProps<boolean> {
    onChange?: (checked: boolean) => void;
    optionalLabel?: string;
    viewMode?: Extract<ViewMode, "edition" | "addition" | "removal">;
}
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
export { Toggle, type ToggleProps };
//# sourceMappingURL=toggle.d.ts.map