import { Coordinate } from '@antv/coord'; import { DisplayObject } from '@antv/g'; import { Scale, G2Theme, G2ViewDescriptor } from '../../runtime'; import { Node } from '../node'; export declare class CompositionNode = Record, ParentValue extends Record = Record, ChildValue extends Record = Record> extends Node { protected _key: string; /** * Change current node data and its children data. */ changeData(data: any): Promise; /** * Get view instance by key. */ getView(): G2ViewDescriptor; getScale(): Record; getScaleByChannel(channel: string): Scale; getCoordinate(): Coordinate; getTheme(): G2Theme; getGroup(): DisplayObject; /** * Show the view. */ show(): void; /** * Hide the view. */ hide(): void; }