import './Switch.css'; import React from 'react'; import { PropsWithHTMLAttributes } from '../../utils/types/PropsWithHTMLAttributes'; export declare const switchPropSize: readonly ["m", "s", "l"]; export declare type SwitchPropSize = typeof switchPropSize[number]; export declare const switchPropSizeDefault: SwitchPropSize; export declare const switchPropView: readonly ["primary", "ghost"]; export declare type SwitchPropView = typeof switchPropView[number]; export declare const switchPropViewDefault: SwitchPropView; export declare const switchPropAlign: readonly ["center", "top"]; export declare type SwitchPropAlign = typeof switchPropAlign[number]; export declare const switchPropAlignDefault: SwitchPropAlign; export declare type SwitchPropOnChange = (object: { e: React.ChangeEvent; checked: boolean; }) => void; export declare type Props = { checked: boolean | undefined; size?: SwitchPropSize; view?: SwitchPropView; align?: SwitchPropAlign; disabled?: boolean; className?: string; label?: string; onChange?: SwitchPropOnChange; name?: string; onFocus?: React.FocusEventHandler; onBlur?: React.FocusEventHandler; autoFocus?: boolean; readOnly?: boolean; required?: boolean; step?: number | string; tabIndex?: number; inputRef?: React.Ref; children?: never; }; export declare type SwitchProps = PropsWithHTMLAttributes; export declare const cnSwitch: import("@bem-react/classname").ClassNameFormatter; export declare const Switch: React.ForwardRefExoticComponent, "css" | keyof Props> & React.RefAttributes>;