import { RegistryParam, RegistryIdentifier } from './interface';
import { RegistryItem, RegistryItemData, RegItemUrlData } from './item';
export declare function castRegistryItemData(param: RegistryParam | RegItemUrlData): RegistryItemData;
export declare const getFilenameFromURL: (url: string | undefined) => string | undefined;
export declare function castRegistryAlias(data: RegistryItemData): string | undefined;
export declare function getRegistryIdentifier(data: RegistryItemData): RegistryIdentifier | undefined;
export declare function generateVersion(item: RegistryItem): string;
export declare function pushIfNotExistsUrl(urls: {
    url: string;
}[], value: string): void;
export declare function removeByCallback(urls: any[], callback: (url: string) => boolean): boolean;
