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;
name: {
(): string;
(_: string): OnOff;
};
name_exists: () => boolean;
label: {
(): string;
(_: string): OnOff;
};
label_exists: () => boolean;
value: {
(): any;
(_: any): OnOff;
};
value_exists: () => boolean;
validate: {
(): string;
(_: string): OnOff;
};
validate_exists: () => boolean;
}
export interface OnOff {
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;
}
//# sourceMappingURL=OnOff.d.ts.map