import { Logger } from "@nestjs/common";
export declare class ErrorHandlingUtils {
    private logger;
    constructor(logger: Logger);
    isMissingEnvError(error: unknown): {
        isMissing: boolean;
        varName?: string;
        allMissing?: string[];
        requiredMissing?: string[];
        optionalMissing?: string[];
        hasOnlyOptionalMissing?: boolean;
    };
    handleImportError(error: unknown, outFile: string, projectRoot: string): Promise<Record<string, unknown>>;
    /**
     * Formats Zod or runtime errors into a human-readable string
     */
    formatUserError(error: unknown): string;
    /**
     * Categorize error for console output with helpful suggestions
     */
    private categorizeErrorForConsole;
    /**
     * Clean up error messages by removing redundant prefixes
     */
    private cleanErrorMessage;
    /**
     * Extract module name from error message
     */
    private extractModuleName;
}
//# sourceMappingURL=error-handling-utils.d.ts.map