import { View } from "tns-core-modules/ui/core/view"; import { Placeholder } from "tns-core-modules/ui/placeholder"; import { ContentView } from "tns-core-modules/ui/content-view"; import { LayoutBase } from "tns-core-modules/ui/layouts/layout-base"; import { InvisibleNode, NgView, ViewExtensions } from "./element-registry"; import { Device } from "tns-core-modules/platform"; export declare type ViewExtensions = ViewExtensions; export declare type NgView = NgView; export declare type NgLayoutBase = LayoutBase & ViewExtensions; export declare type NgContentView = ContentView & ViewExtensions; export declare type NgPlaceholder = Placeholder & ViewExtensions; export declare type BeforeAttachAction = (view: View) => void; export declare function isLayout(view: any): view is NgLayoutBase; export declare function isContentView(view: any): view is NgContentView; export declare class ViewUtil { private isIos; private isAndroid; constructor(device: Device); insertChild(parent: View, child: View, previous?: NgView, next?: NgView): void; private addToQueue(parent, child, previous, next); private appendToQueue(parent, view); private addToVisualTree(parent, child, next); private insertToLayout(parent, child, next); private findNextVisual(view); removeChild(parent: View, child: View): void; private removeFromQueue(parent, child); private findPreviousElement(parent, child); private getPreviousVisualElement(parent, child); getChildIndex(parent: any, child: NgView): number; private removeFromVisualTree(parent, child); private removeLayoutChild(parent, child); createComment(): InvisibleNode; createText(): InvisibleNode; createView(name: string): NgView; private ensureNgViewExtensions(view); private setNgViewExtensions(view, name); setProperty(view: NgView, attributeName: string, value: any, namespace?: string): void; private runsIn(platform); private setPropertyInternal(view, attributeName, value); private getProperties(instance); private cssClasses(view); addClass(view: NgView, className: string): void; removeClass(view: NgView, className: string): void; private setClasses(view, classesValue); private syncClasses(view); setStyle(view: NgView, styleName: string, value: any): void; removeStyle(view: NgView, styleName: string): void; }