import React from 'react'; type Props = { checked?: boolean; id?: string; label: React.ReactNode; name: string; onChange?: (newValue: boolean) => void; disabled?: boolean; }; type State = { checked: boolean; }; export declare class Toggle extends React.Component { defaultProps: { checked: boolean; label: string; }; state: { checked: boolean; }; generatedId?: string; componentWillMount(): void; toggle: () => void; render(): import("react/jsx-runtime").JSX.Element; } export {};