Merge pull request #7520 from keymanapp/fix/core/7487-remove-visibility-attribute-from-callback-type fix(core): remove `KMN_API` from callback spec