import React from 'react'; import type { WithNullableEventHandlers } from '../../types'; declare type Props = WithNullableEventHandlers<{ onSubmit?: (event: React.FormEvent) => void; } & Partial>; declare type DefaultProps = { className: string; }; export default class Form extends React.PureComponent { static defaultProps: DefaultProps; _handleSubmit: (event: React.FormEvent) => void; render(): JSX.Element; } export {};