import { HTMLWidget } from "@hpcc-js/common";
import "../src/OnOff.css";
export declare class OnOff extends HTMLWidget {
_inputElement: any[];
_input: any;
constructor();
enter(domNode: any, element: any): void;
update(domNode: any, element: any): void;
}
export interface OnOff {
name(): string;
name(_: string): this;
name_exists(): boolean;
label(): string;
label(_: string): this;
label_exists(): boolean;
value(): any;
value(_: any): this;
value_exists(): boolean;
validate(): string;
validate(_: string): this;
validate_exists(): boolean;
marginLeft(): number;
marginLeft(_: number): this;
marginBottom(): number;
marginBottom(_: number): this;
minWidth(): number;
minWidth(_: number): this;
minHeight(): number;
minHeight(_: number): this;
gutter(): number;
gutter(_: number): this;
offText(): string;
offText(_: string): this;
onText(): string;
onText(_: string): this;
switchRadius(): number;
switchRadius(_: number): this;
containerRadius(): number;
containerRadius(_: number): this;
offColor(): string;
offColor(_: string): this;
onColor(): string;
onColor(_: string): this;
offFontColor(): string;
offFontColor(_: string): this;
onFontColor(): string;
onFontColor(_: string): this;
}