Add reference to paint.js declaration file (which gets autogenerated by the build automation script)
Fix naming conflict with typescript internal identifier 'Selection'