declare namespace $w { type $w = (selector: string) => any } declare function $w(selector: string): any;