import { SwitchProps } from './SwitchTypes'; /** * A `Switch` consists of a checkbox and some text as label. Thus it allows end-users to toggle between a true/false state. * Switch label is passed in as children. Label placement can be on either side of the checkbox. * By default, the checkbox is placed to the left of the label. To place label to the left of the checkbox, * set dir to "rtl" on the parent of a Switch or on the Switch itself. * * @example * Label * * setChecked(checked)} * />Label on left * * @see https://neo-react-library-storybook.netlify.app/?path=/story/components-switch--default * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement */ export declare const Switch: { ({ children, error, id, multiline, onChange, dir, labelIcon, readonly, ...rest }: SwitchProps): import("react/jsx-runtime").JSX.Element; displayName: string; };