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, Record>; export declare function valueOf(node: Node): Record; export declare function sizeOf(options: any, container: any): { width: any; height: any; }; export declare function optionsOf(node: Node): Record; export declare function updateRoot(node: Node, options: G2ViewTree, definedType: string): void; export declare function createEmptyPromise(): [ Promise, (reason?: any) => void, (value: T | PromiseLike) => void ];