import { type InternalAgThemeParams, type ModuleScope } from 'ag-charts-core'; import type { AgChartAllThemeParams, AgChartPrivateThemeParams, AgChartTheme, AgChartThemePalette, AgChartThemeParams, AgPaletteColors, AgPresetOverrides, AgThemeOverrides, CssColor, WithThemeParams } from 'ag-charts-types'; import { type PaletteType } from '../../module/coreModulesTypes'; import { type DefaultColors } from './defaultColors'; export declare function isPresetOverridesType(type: string): type is keyof AgPresetOverrides; /** Params with no default, so text keeps the natural line height of its font until a theme sets them. */ type UnsetThemeParam = 'lineHeight'; export type ThemeParamDefaults = Required> & { [K in UnsetThemeParam & keyof T]: T[K] | undefined; }; export declare class ChartTheme { readonly palette: Required & { sequentialColors: CssColor[][]; altUp: AgPaletteColors; altDown: AgPaletteColors; altNeutral: AgPaletteColors; }; readonly paletteType: PaletteType; readonly config: any; /** The chart-level defaults of each registered chart type, for a chart with no series type to key `config` by. */ readonly chartDefaults: Record; readonly presets: AgPresetOverrides; readonly overrides: AgThemeOverrides | undefined; readonly params: AgChartAllThemeParams; readonly isDark: boolean; static getDefaultColors(): DefaultColors; static getDefaultPublicParameters(): ThemeParamDefaults>; protected getPrivateParameters(): Required>; constructor(options?: AgChartTheme, presetName?: string, moduleRegistry?: ModuleScope); private getFrozenDefaultsConfig; private processOverrides; private createChartConfigPerChartType; private getDefaults; protected getDefaultColors(): DefaultColors; getThemeParameters(): ThemeParamDefaults>; } export {};