import { Consumer } from '../consumer'; export default function getRemoteByName(remoteName: string, consumer?: Consumer): Promise;