/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** * Extract a human-readable message and optional details from an error. * For ApiError, separates the error code from the actual error details. */ export declare function formatApiError(error: unknown): { message: string; details?: string; }; /** * Format an error for display. For EastError, includes location stack trace. */ export declare function formatError(error: Error): string; //# sourceMappingURL=errors.d.ts.map