The package mariadb-10.2 was not supposed to ship the libmariadb-dev package, which should come from mariadb-connector-c. The package mariadb-10.2 is to be removed from Debian unstable and the next versions of mariadb-10.3 uploaded to Debian will not include this libmariadb-dev library.