export function runOnEveryParentUntil(element: any, parent: any, callback: any): Promise<void>;
