Is there a way to specify the type of a NodePath?
Say I have export(NodePath) var target, is there a way I can specify target should be a KinematicBody, Target.gd, etc.?
export(NodePath) var target
No, there is no way to filter by class.
If you need a restriction to avoid mistakes you can make a setter that checks, prints an error and ignore nodes of the incorrect type.