import { FactoryComponent } from 'mithril'; import { InputAttrs } from './input-options'; export interface SwitchAttrs extends Pick, 'label' | 'disabled' | 'id' | 'className' | 'onchange' | 'newRow' | 'isMandatory'> { /** Left text label */ left?: string; /** Right text label */ right?: string; /** If checked is true, the switch is set in the right position. */ checked?: boolean; } /** Component to display a switch with two values. */ export declare const Switch: FactoryComponent;