import * as React from 'react'; interface Props { /** * Unique ID for the checkbox (switch) element */ id: string; /** * Name of the checkbox (switch) element */ name?: string; /** * Text of the checkbox (switch) element label */ label?: string; /** * On checkbox (switch) element change callback */ onChange?: (isChecked: boolean) => void; /** * Allows to set the switch as checked * * @default false */ isChecked?: boolean; /** * Allows to disable the component functionality * * @default false */ disabled?: boolean; /** * Allows to pass a custom className */ className?: string; /** * Allows to pass testid string for testing purposes */ 'data-testid'?: string; /** * Screen reader label describing the purpose of the switch, * e.g., "toggle between accepting or rejecting the terms and conditions" */ ariaLabel?: string; } declare const Switch: ({ onChange, "data-testid": dataTestId, ariaLabel, ...props }: Props) => React.JSX.Element; /** @component */ export default Switch;