| 123456789101112131415161718 |
- import { G2ViewTree } from '../runtime';
- import { Node } from './node';
- export declare const VIEW_KEYS: string[];
- export declare function normalizeContainer(container: string | HTMLElement): HTMLElement;
- export declare function removeContainer(container: HTMLElement): void;
- export declare function normalizeRoot(node: Node): Node<Record<string, any>, Record<string, any>, Record<string, any>>;
- export declare function valueOf(node: Node): Record<string, any>;
- export declare function sizeOf(options: any, container: any): {
- width: any;
- height: any;
- };
- export declare function optionsOf(node: Node): Record<string, any>;
- export declare function updateRoot(node: Node, options: G2ViewTree, definedType: string): void;
- export declare function createEmptyPromise<T>(): [
- Promise<T>,
- (reason?: any) => void,
- (value: T | PromiseLike<T>) => void
- ];
|