import * as React from 'react'; import TooltipOptions from '../tooltip/tooltipoptions'; import {IconType} from "../utils"; type ToggleButtonIconPositionType = 'left' | 'right'; interface ToggleButtonChangeTargetOptions { name: string; id: string; value: boolean; } interface ToggleButtonChangeParams { originalEvent: React.SyntheticEvent; value: boolean; stopPropagation(): void; preventDefault(): void; target: ToggleButtonChangeTargetOptions; } export interface ToggleButtonProps { id?: string; onIcon?: IconType; offIcon?: IconType; onLabel?: string; offLabel?: string; iconPos?: ToggleButtonIconPositionType; style?: object; className?: string; checked?: boolean; tabIndex?: number; tooltip?: string; tooltipOptions?: TooltipOptions; ariaLabelledBy?: string; onChange?(e: ToggleButtonChangeParams): void; onFocus?(event: React.FocusEvent): void; onBlur?(event: React.FocusEvent): void; } export declare class ToggleButton extends React.Component { }