import React, { Component } from 'react'; export interface ToggleboxPropsStrict { /** Whether or not the togglebox is checked */ checked?: boolean; /** Adds one or more classnames for an element */ className?: string; /** Which element is used in the togglebox */ control?: 'radio' | 'checkbox' | 'toggleSwitch'; /** The vertical alignment of the control within the togglebox */ controlAlign?: 'center' | 'top'; /** Whether the togglebox is in a disabled state */ disabled?: boolean; /** Visual error state for the togglebox */ error?: boolean; /** ID for the checkbox within the togglebox */ id?: string; /** Content associated with the label for the togglebox, control is centered by this field */ label?: React.ReactNode; /** HTML name for the checkbox within the togglebox */ name?: string; /** Calls when the togglebox is clicked */ onClick?: (value: T, checked: boolean) => void; /** Top text of the Togglebox */ title?: string; /** HTML value for the checkbox within the togglebox */ value?: T; } export interface ToggleboxProps extends ToggleboxPropsStrict { /** Unstrict Props */ [propName: string]: any; } export declare class Togglebox extends Component> { static displayName: string; onClickHandler: (e?: React.SyntheticEvent) => void; getControl: (control: string, controlProps: any) => JSX.Element; getTitle: () => JSX.Element; getLabel: () => JSX.Element; render(): JSX.Element; }