library.d.ts 371 B

123
  1. import { G2ComponentOptions, G2Library } from './types/options';
  2. import { G2Component, G2ComponentNamespaces, G2ComponentValue } from './types/component';
  3. export declare function useLibrary<O extends G2ComponentOptions, C extends G2Component, V extends G2ComponentValue>(namespace: G2ComponentNamespaces, library: G2Library): [(options: O) => V, (type: O['type']) => C];