import ToggleSwitch from './ToggleSwitch';

export default function (
    x: number, y: number,
    width: number, height: number,
    color?: number,
    config?: ToggleSwitch.IConfig
): ToggleSwitch;

export default function (
    x: number, y: number,
    width: number, height: number,
    config?: ToggleSwitch.IConfig
): ToggleSwitch;


export default function (
    config?: ToggleSwitch.IConfig
): ToggleSwitch;