import * as _mantine_core from '@mantine/core'; import { SwitchProps as SwitchProps$1 } from '@mantine/core'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { FieldValues, UseControllerProps } from 'react-hook-form'; import { SwitchGroup } from './Switch/SwitchGroup/SwitchGroup.js'; type SwitchProps = UseControllerProps & Omit; declare function Switch({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: SwitchProps): react_jsx_runtime.JSX.Element; declare namespace Switch { var Item: _mantine_core.MantineComponent<{ props: SwitchProps$1; ref: HTMLInputElement; stylesNames: _mantine_core.SwitchStylesNames; vars: _mantine_core.SwitchCssVariables; staticComponents: { Group: typeof _mantine_core.SwitchGroup; }; }>; var Group: typeof SwitchGroup; } export { Switch }; export type { SwitchProps };