import type { DataSourceChartDefinition } from './types'; import type { Caller, Chart, DataSource, DataSourceSchema } from '@forestadmin/datasource-toolkit'; import { DataSourceDecorator } from '@forestadmin/datasource-toolkit'; import ChartCollectionDecorator from './collection'; export default class ChartDataSourceDecorator extends DataSourceDecorator { private charts; get schema(): DataSourceSchema; constructor(childDataSource: DataSource); addChart(name: string, definition: DataSourceChartDefinition): void; renderChart(caller: Caller, name: string, parameters?: Record): Promise; } //# sourceMappingURL=datasource.d.ts.map