import { StudioComponent, StudioComponentChild } from './types'; export declare class StudioNode { component: StudioComponent | StudioComponentChild; parent?: StudioNode; constructor(component: StudioComponent | StudioComponentChild, parent?: StudioNode); isRoot(): boolean; getComponentPathToRoot(): StudioNode[]; /** * Return true if any ancestor node of the current node has type `componentType`. */ hasAncestorOfType(componentType: string): boolean; } //# sourceMappingURL=studio-node.d.ts.map