/** * Extracts a human-readable error message from an unknown error value. * Handles Error instances, string errors, and other types safely. */ export declare function getErrorMessage(error: unknown): string; /** * Extracts an error message from an unknown error value, with a fallback * for when no message can be extracted. */ export declare function getErrorMessageOr(error: unknown, fallback: string): string; //# sourceMappingURL=error-utils.d.ts.map