import * as React from 'react';
import { ErrorLike } from '../../util/errors';
import { OrgAreaPageProps } from './OrgArea';
interface Props extends OrgAreaPageProps {
    /** Called when the viewer responds to the invitation. */
    onDidRespondToInvitation: () => void;
}
interface State {
    /** The result of accepting the invitation. */
    submissionOrError?: 'loading' | null | ErrorLike;
    lastResponse?: boolean;
}
/**
 * Displays the organization invitation for the current user, if any.
 */
export declare class OrgInvitationPage extends React.PureComponent<Props, State> {
    state: State;
    private componentUpdates;
    private responses;
    private subscriptions;
    componentDidMount(): void;
    componentWillReceiveProps(props: Props): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private onAcceptInvitation;
    private onDeclineInvitation;
    private respondToOrganizationInvitation;
}
export {};
//# sourceMappingURL=OrgInvitationPage.d.ts.map