import * as H from 'history';
import * as React from 'react';
import * as GQL from '../../../backend/graphqlschema';
interface Props {
    threadID: GQL.ID;
    commentID?: GQL.ID;
    repoID: GQL.ID;
    rev: string | undefined;
    filePath: string;
    history: H.History;
    location: H.Location;
    user: GQL.IUser | null;
}
interface State {
    loading: boolean;
    error?: any;
    thread?: GQL.IDiscussionThread;
}
export declare class DiscussionsThread extends React.PureComponent<Props, State> {
    private componentUpdates;
    private subscriptions;
    constructor(props: Props);
    componentDidMount(): void;
    componentDidUpdate(): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    /**
     * Produces a URL hash for linking to the given discussion thread and the
     * line that it was created on.
     * @param thread The thread to link to.
     */
    private urlHashWithLine;
    private onSubmit;
    private onCommentReport;
    private onCommentClearReports;
    private onCommentDelete;
}
export {};
//# sourceMappingURL=DiscussionsThread.d.ts.map