I think question is very related to this one: https://answers.sap.com/questions/11459025/how-to-call-function-import-from-sap-ui5-and-get-t.html. However I do not want to bind JSON but setup smart table entity set returned from the import function.
There are lots of possibilities in annotation modeler and there is function import. However I can not find documentation how to use it in smart components except how to setup default columns for smart table.