import { HTMLProps, PropsWithChildren } from 'react'; import { ThemeColorVariables } from '@dreipol/t3-react-theme'; export type SwitchProps = PropsWithChildren<{ /** * Size */ size?: 'medium' | 'small'; /** * Checked status true = false */ checked?: boolean; /** * Disabled */ disabled?: boolean; /** * Custom class name */ className?: string; /** * Custom switch color */ color?: ThemeColorVariables; /** * Name for the form field */ name?: string; /** * Custom change handler */ onChange?: (value: boolean) => void; /** * Custom id attribute for the input element */ id?: string; /** * Custom value for the HTML input */ value?: string; /** * Custom input props */ inputProps?: Partial>; } & Omit, 'size' | 'onChange' | 'color'>>; export declare const Switch: ({ className, disabled, checked, size, color, name, onChange, id, children, value, inputProps, ...rest }: SwitchProps) => import("react/jsx-runtime").JSX.Element;