import { XmlDocument, XmlElement } from 'xmldoc';
import type { Registry } from './types';
export declare function readFileAsXmlDocument(file: string): Promise<XmlDocument | undefined>;
/**
 * The default `nuget.org` named registry.
 * @returns the default registry for NuGet
 */
export declare function getDefaultRegistries(): Registry[];
export declare function getConfiguredRegistries(packageFile: string): Promise<Registry[] | undefined>;
export declare function findVersion(parsedXml: XmlDocument): XmlElement | null;
