import type { AgChartInstance, AgChartOptions, AgChartParams, AgFinancialChartOptions, AgGaugeOptions, AgQuadrantChartOptions, AgSparklineOptions, ContextDefault, DatumDefault } from 'ag-charts-types'; /** * Factory for creating and updating instances of AgChartInstance. * * @docsInterface */ export declare abstract class AgCharts { /** @private - for use by Charts website dark-mode support. */ static readonly optionsMutationFn?: (opts: AgChartOptions, preset?: string) => AgChartOptions; /** * @private - for use by the framework wrappers. * * The wrappers merge their own `container` into the caller's `options` before delegating, so an * invalid `options` prop reaches `create()` as a perfectly valid `{ container }` object and the * check there cannot fire. They call this on the raw prop, before the merge, and build from what * it returns: the prop itself when it is usable, otherwise an empty object carrying the diagnostic * for the chart to report. Nothing is thrown - the wrapper's own render is not the place to fail. */ static __validateOptionsArgument(options: O, methodName: string): O; static getLicenseDetails(licenseKey: string): object | undefined; /** * Returns the `AgChartInstance` for a DOM node, if there is one. */ static getInstance(element: HTMLElement): AgChartInstance | undefined; /** * Create a new `AgChartInstance` based upon the given configuration options. */ static create>(// set TContext=any for backward-compatibility userOptions: O, params?: AgChartParams): AgChartInstance; private static createInternal; static createFinancialChart(options: AgFinancialChartOptions, params?: AgChartParams): AgChartInstance; static createGauge(options: AgGaugeOptions, params?: AgChartParams): AgChartInstance; static createQuadrantChart(options: AgQuadrantChartOptions, params?: AgChartParams): AgChartInstance>; static __createSparkline(options: AgSparklineOptions, params?: AgChartParams): AgChartInstance; }