1 | import { G2ViewTree } from '../runtime';
|
2 | import { Node } from './node';
|
3 | export declare const VIEW_KEYS: string[];
|
4 | export declare const REMOVE_FLAG = "__remove__";
|
5 | export declare const CALLBACK_NODE = "__callback__";
|
6 |
|
7 | export declare const MIN_CHART_WIDTH = 1;
|
8 |
|
9 | export declare const MIN_CHART_HEIGHT = 1;
|
10 | export declare function normalizeContainer(container: string | HTMLElement): HTMLElement;
|
11 | export declare function removeContainer(container: HTMLElement): void;
|
12 | export declare function normalizeRoot(node: Node): Node<Record<string, any>, Record<string, any>, Record<string, any>>;
|
13 | export declare function valueOf(node: Node): Record<string, any>;
|
14 | export declare function sizeOf(options: any, container: any): {
|
15 | width: number;
|
16 | height: number;
|
17 | depth: any;
|
18 | };
|
19 | export declare function optionsOf(node: Node): Record<string, any>;
|
20 | export declare function updateRoot(node: Node, options: G2ViewTree, definedType: string, mark: Record<string, new () => Node>, composition: Record<string, new () => Node>): void;
|
21 | export declare function createEmptyPromise<T>(): [
|
22 | Promise<T>,
|
23 | (reason?: any) => void,
|
24 | (value: T | PromiseLike<T>) => void
|
25 | ];
|