export default function traverseSurface(o: any, func: Function, ancestor?: any): void;