import type { CSSProperties, ReactNode } from "react"; import type { ButtonSize } from "../../Actions/Button/types"; import type { IconComponentType } from "../../Icons"; type IconOnlyToggleButtonBaseProps = { /** * The icon to display for the `ToggleButton`. */ icon: IconComponentType; /** * The label to display for the `ToggleButton`. */ label: string; }; type TextToggleButtonBaseProps = { /** * The icon to display for the `ToggleButton`. */ icon?: IconComponentType; /** * The content to display for the `ToggleButton`. */ children: ReactNode; }; export type ToggleButtonBaseProps = { /** * The id of the `ToggleButton`. */ id?: string; /** * The class name of the `ToggleButton`. */ className?: string; /** * Whether the `ToggleButton` should be auto focused. */ style?: CSSProperties; /** Whether the `ToggleButton` should be auto focused. */ autoFocus?: boolean; /** * Whether the `ToggleButton` should be disabled. */ disabled?: boolean; /** * The size of the `ToggleButton`. */ size?: ButtonSize; } & (IconOnlyToggleButtonBaseProps | TextToggleButtonBaseProps); export declare const ToggleButtonBase: import("react").ForwardRefExoticComponent>; export {};