import * as React from 'react';
import { TranslationBundle } from '@jupyterlab/translation';
import { Git } from '../tokens';
import { GitExtension } from '../model';
export interface IManageRemoteDialogueProps {
    /**
     * The application language translator.
     */
    trans: TranslationBundle;
    /**
     * Warning content.
     */
    warningContent?: string;
    /**
     * Git extension model
     */
    model: GitExtension;
    /**
     * Callback to handle the closing of dialogue
     */
    onClose: () => void;
}
export interface IManageRemoteDialogueState {
    /**
     * New remote name and url pair
     */
    newRemote: Git.IGitRemote;
    /**
     * List of known remotes
     */
    existingRemotes: Git.IGitRemote[] | null;
}
export declare class ManageRemoteDialogue extends React.Component<IManageRemoteDialogueProps, IManageRemoteDialogueState> {
    constructor(props: IManageRemoteDialogueProps);
    componentDidMount(): Promise<void>;
    render(): JSX.Element;
    private _nameInput;
    private _urlInput;
    private _addRemoteButton;
}
