Is it possible to import third-party libraries in extensions?

See this reply, it may be of interest: