import React from "react"; import { SwitchProps as BlueprintSwitchProps } from "@blueprintjs/core"; export interface SwitchProps extends Omit { /** * Event handler for changed state. */ onChange?: (value: boolean) => void; /** * class names */ className?: string; /** Adds the 'nodrag' class to the element, preventing dragging via the Switch element. Default: true */ noDrag?: boolean; } export declare const Switch: ({ onChange, className, label, noDrag, ...otherProps }: SwitchProps) => React.JSX.Element; declare const _default: React.MemoExoticComponent<({ onChange, className, label, noDrag, ...otherProps }: SwitchProps) => React.JSX.Element>; export default _default;