import { z } from 'zod';
import type { PackageDependency } from '../../types';
import type { UrlParsedResult } from '../types';
export declare function parseArchiveUrl(urlString: string | undefined | null): UrlParsedResult | null;
export declare const httpRules: readonly ["http_archive", "http_file"];
export declare const HttpTarget: z.ZodEffects<z.ZodEffects<z.ZodObject<{
    rule: z.ZodEnum<["http_archive", "http_file"]>;
    name: z.ZodString;
    url: z.ZodOptional<z.ZodString>;
    urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    sha256: z.ZodString;
}, "strip", z.ZodTypeAny, {
    url?: string | undefined;
    urls?: string[] | undefined;
    name: string;
    sha256: string;
    rule: "http_archive" | "http_file";
}, {
    url?: string | undefined;
    urls?: string[] | undefined;
    name: string;
    sha256: string;
    rule: "http_archive" | "http_file";
}>, {
    url?: string | undefined;
    urls?: string[] | undefined;
    name: string;
    sha256: string;
    rule: "http_archive" | "http_file";
}, {
    url?: string | undefined;
    urls?: string[] | undefined;
    name: string;
    sha256: string;
    rule: "http_archive" | "http_file";
}>, PackageDependency<Record<string, any>>[], {
    url?: string | undefined;
    urls?: string[] | undefined;
    name: string;
    sha256: string;
    rule: "http_archive" | "http_file";
}>;
