import * as React from 'react';
import * as GQL from '../../backend/graphqlschema';
import { ErrorLike } from '../../util/errors';
interface Props {
    /** The GraphQL ID of the user with whom the new emails are associated. */
    user: GQL.ID;
    /** Called after successfully adding an email to the user. */
    onDidAdd: () => void;
    className?: string;
}
interface State {
    email: string;
    error?: ErrorLike | null;
}
export declare class AddUserEmailForm extends React.PureComponent<Props, State> {
    state: State;
    private submits;
    private subscriptions;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private onChange;
    private onSubmit;
    private addUserEmail;
}
export {};
//# sourceMappingURL=AddUserEmailForm.d.ts.map