export type PackLoadFailureCategory = "abort" | "decode" | "hash" | "http" | "image" | "integrity" | "mime" | "network" | "size" | "timeout" | "validation"; export declare class PackLoadError extends Error { readonly code: string; readonly category: PackLoadFailureCategory; constructor(code: string, category: PackLoadFailureCategory, message: string, cause?: unknown); } export declare function packIssue(code: string, detail: string): string; export declare function addPackIssue(issues: string[], code: string, detail: string): void; export declare function throwPackIssue(code: string, detail: string): never; export declare class PackValidationError extends Error { readonly issues: readonly string[]; readonly issueCodes: readonly string[]; constructor(issues: readonly string[], issueCodes?: readonly string[]); } //# sourceMappingURL=errors.d.ts.map