/** * Shared error handling utilities */ /** * Formats error message from unknown error type * This replaces the pattern: error instanceof Error ? error.message : String(error) * which was duplicated 17+ times across the codebase */ export declare function formatError(error: unknown): string; /** * Wraps error with additional context */ export declare function wrapError(context: string, error: unknown): Error; /** * Checks if error message contains specific text (case-insensitive) */ export declare function isErrorMessage(error: unknown, fragment: string): boolean; //# sourceMappingURL=errors.d.ts.map