import { G2Spec } from '../spec'; import { G2Library } from '../runtime'; import { Runtime, RuntimeOptions } from './runtime'; import { MarkOf, CompositionOf as Of } from './types'; import { MarkNode } from './mark'; import { CompositionNode } from './composition'; type BuiltinComposition = { 'composition.mark': any; 'composition.view': any; }; export type CompositionOf = Of CompositionAPI>; export type CompositionAPI = CompositionNode & MarkOf MarkNode>> & MarkOf MarkNode> & CompositionOf; export type API = Runtime & MarkOf MarkNode> & CompositionOf; export declare function extend(Runtime: new (options: RuntimeOptions) => Runtime, library: Library): new (options?: RuntimeOptions) => API; export {};