export function isLeavingWindow(_ref: any): any;