import React from "react"; interface SwitchProps { readonly value?: boolean; /** * Adds a name for the hidden input and an ID so a label can be used to * describe the switch instead of an aria-label. This prevents screen readers * from reading the label twice */ readonly name?: string; readonly ariaLabel?: string; readonly disabled?: boolean; onChange?(newValue: boolean): void; } export declare function Switch({ value: providedValue, ariaLabel, name, disabled, onChange, }: SwitchProps): React.JSX.Element; export {};