ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
13 lines (12 loc) • 587 B
TypeScript
import { type OptionsDefs } from 'ag-charts-core';
import type { AgChartTheme, AgChartThemeName } from 'ag-charts-types';
import { ChartTheme } from '../themes/chartTheme';
type SpecialThemeName = 'ag-financial' | 'ag-financial-dark';
type ThemeMap = {
[key in AgChartThemeName | SpecialThemeName | 'undefined' | 'null']?: () => ChartTheme;
};
export declare const themes: ThemeMap;
export declare const getChartTheme: typeof createChartTheme;
declare function createChartTheme(value: unknown): ChartTheme;
export declare const themeOptionsDef: OptionsDefs<AgChartTheme>;
export {};