/** * Standardized error handling utilities for PZG Pro */ export declare class PZGProError extends Error { readonly code: string; readonly feature: string; readonly context?: Record | undefined; constructor(message: string, code: string, feature: string, context?: Record | undefined); } export declare class LicenseError extends PZGProError { constructor(message: string, context?: Record); } export declare class FileSystemError extends PZGProError { constructor(message: string, feature: string, context?: Record); } /** * Safe file operation wrapper */ export declare function safeFileOperation(operation: () => Promise | T, filePath: string, feature: string): Promise; /** * Production-safe logger that doesn't expose sensitive information */ export declare function logError(error: PZGProError): void;