import * as React from 'react'; import type { HasDataAttribute, HasRootRef } from '../../types'; export interface SwitchProps extends Pick, 'checked' | 'defaultChecked' | 'disabled' | 'readOnly' | 'required' | 'autoFocus' | 'name' | 'value' | 'form' | 'onChange' | 'onFocus' | 'onBlur'>, Omit, 'onChange' | 'onFocus' | 'onBlur'>, HasRootRef { /** * Свойства, которые можно прокинуть внутрь компонента: * - `root`: свойства для прокидывания в корень компонента; * - `input`: свойства для прокидывания в скрытый `input`. */ slotProps?: { root?: (Omit, 'children'> & HasRootRef & HasDataAttribute) | undefined; input?: (React.InputHTMLAttributes & HasRootRef & HasDataAttribute) | undefined; } | undefined; /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ input: { getRootRef: ... } }`. */ getRef?: React.Ref | undefined; } /** * @see https://vkui.io/components/switch */ export declare const Switch: ({ getRef, checked, defaultChecked, disabled, readOnly, required, autoFocus, id, name, value, form, onChange, onFocus, onBlur, slotProps, ...restProps }: SwitchProps) => React.ReactNode; //# sourceMappingURL=Switch.d.ts.map