import Remote from '../remotes/remote';
export default class GlobalRemotes {
    remotes: {
        [key: string]: string;
    };
    constructor(remotes: {
        [key: string]: string;
    });
    addRemote(remote: Remote): this;
    rmRemote(name: string): boolean;
    toJson(readable?: boolean): string;
    toPlainObject(): {
        [key: string]: string;
    };
    write(): Promise<void>;
    static load(): Promise<GlobalRemotes>;
}
