UNPKG

811 BTypeScriptView Raw
1import type { IntegratedModule } from 'ag-charts-types';
2import type { _ModuleWithoutApi } from 'ag-grid-community';
3type SparklineChartsModuleType = {
4 with: (params: IntegratedModule) => _ModuleWithoutApi;
5} & _ModuleWithoutApi;
6/**
7 * @feature Sparklines
8 * Requires the AG Charts library to be provided to this module via the `with` method.
9 * The AG Charts module can be imported from either `ag-charts-community` or `ag-charts-enterprise`.
10 * @example
11 * import { AgChartsCommunityModule } from 'ag-charts-community';
12 * import { ModuleRegistry } from 'ag-grid-community';
13 * import { SparklinesModule } from 'ag-grid-enterprise';
14 *
15 * ModuleRegistry.registerModules([ SparklinesModule.with(AgChartsCommunityModule) ]);
16 */
17export declare const SparklinesModule: SparklineChartsModuleType;
18export {};