import type { ErrorContext } from "./types"; export declare const findSimilarPackages: (target: string, candidates: string[], maxDistance?: number) => string[]; export declare const getSuggestionForPackage: (packageName: string) => string | null; export declare const isPrivatePackage: (err: Error | string) => boolean; export declare const hasRegistryInError: (err: Error | string) => boolean; export declare const isTimeout: (err: Error | string) => boolean; export declare const formatValidationError: (packageName: string) => string; export declare const formatPrivatePackageError: (packageName: string) => string; export declare const formatRegistryError: (packageName: string) => string; export declare const formatTimeoutError: (packageName: string, retryCount: number) => string; export declare const formatNetworkError: (packageName: string) => string; export declare const formatGenericError: (packageName: string, errorStr: string) => string; export declare const formatEnhancedError: (context: ErrorContext) => string;