style(Selector): Move public API on top of the file

replace #913