import { z } from 'zod'; import type { PackageDependency } from '../../types'; export declare function parseGithubPath(pathname: string): Partial | null; export declare function parseArchiveUrl(urlString: string | undefined | null): Partial | null; export declare const httpRules: readonly ["http_archive", "_http_archive", "http_file", "_http_file"]; export declare const HttpTarget: z.ZodEffects; name: z.ZodString; url: z.ZodOptional; urls: z.ZodOptional>; sha256: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; sha256: string; rule: "http_archive" | "_http_archive" | "http_file" | "_http_file"; url?: string | undefined; urls?: string[] | undefined; }, { name: string; sha256: string; rule: "http_archive" | "_http_archive" | "http_file" | "_http_file"; url?: string | undefined; urls?: string[] | undefined; }>, { name: string; sha256: string; rule: "http_archive" | "_http_archive" | "http_file" | "_http_file"; url?: string | undefined; urls?: string[] | undefined; }, { name: string; sha256: string; rule: "http_archive" | "_http_archive" | "http_file" | "_http_file"; url?: string | undefined; urls?: string[] | undefined; }>, PackageDependency>[], { name: string; sha256: string; rule: "http_archive" | "_http_archive" | "http_file" | "_http_file"; url?: string | undefined; urls?: string[] | undefined; }>;