import { type IBackendCapabilities, type IExecutionFactory } from "@gooddata/sdk-backend-spi"; import { type IDimension, type IInsight, type IInsightDefinition, type ISortItem } from "@gooddata/sdk-model"; import { type ChartType } from "@gooddata/sdk-ui"; import { type IChartConfig } from "@gooddata/sdk-ui-charts"; import { type AxisType } from "../../../interfaces/AxisType.js"; import { type IColorConfiguration } from "../../../interfaces/Colors.js"; import { type IAvailableSortsGroup } from "../../../interfaces/SortConfig.js"; import { type IBucketItem, type IBucketOfFun, type IDrillDownContext, type IExtendedReferencePoint, type IReferencePoint, type IReferences, type IUiConfig, type IVisConstruct, type IVisProps, type IVisualizationProperties, type RenderFunction, type UnmountFunction } from "../../../interfaces/Visualization.js"; import { AbstractPluggableVisualization } from "../AbstractPluggableVisualization.js"; export declare class PluggableBaseChart extends AbstractPluggableVisualization { protected projectId: string; protected type: ChartType; protected defaultControlsProperties: IVisualizationProperties; protected customControlsProperties: IVisualizationProperties; protected colors: IColorConfiguration; protected references: IReferences; protected referencePoint: IReferencePoint | undefined; protected ignoreUndoRedo: boolean; protected axis: string; protected secondaryAxis: AxisType; protected environment: string; protected readonly renderFun: RenderFunction; protected readonly unmountFun: UnmountFunction; protected backendCapabilities: IBackendCapabilities; constructor(props: IVisConstruct); unmount(): void; /** * Helper method to add METRIC to filter accepts when enableImprovedAdFilters feature flag is enabled. * The order is important to match localization strings. * * Remove this helper when feature flag is removed and use the exact same array * in uiConfig.ts \> defaultFilters \> accepts */ protected addMetricToFiltersIfEnabled(config: IUiConfig): void; getUiConfig(): IUiConfig; getExtendedReferencePoint(referencePoint: IReferencePoint): Promise; getInsightWithDrillDownApplied(source: IInsight, drillDownContext: IDrillDownContext, backendSupportsElementUris: boolean): IInsight; isOpenAsReportSupported(): boolean; setCustomControlsProperties(customControlsProperties: IVisualizationProperties): void; getExecution(options: IVisProps, insight: IInsightDefinition, executionFactory: IExecutionFactory): import("@gooddata/sdk-backend-spi").IPreparedExecution; protected configureBuckets(extendedReferencePoint: IExtendedReferencePoint): void; protected getSupportedPropertiesList(): string[]; protected getStackItems(buckets: IBucketOfFun[]): IBucketItem[]; protected checkBeforeRender(insight: IInsightDefinition): boolean; protected renderVisualization(options: IVisProps, insight: IInsightDefinition, executionFactory: IExecutionFactory): void; protected initializeProperties(visualizationProperties: IVisualizationProperties): void; protected renderConfigurationPanel(insight: IInsightDefinition, options: IVisProps): void; protected getDimensions(insight: IInsightDefinition): IDimension[]; protected handleConfirmedColorMapping(data: any): void; protected handlePushData: (data: any) => void; protected buildVisualizationConfig(options: IVisProps, supportedControls?: IVisualizationProperties): IChartConfig; private getOpenAsReportConfig; private getSupportedControls; protected reuseCurrentSort(previousAvailableSorts: IAvailableSortsGroup[] | undefined, properties: IVisualizationProperties | undefined, availableSorts: IAvailableSortsGroup[] | undefined, defaultSort: ISortItem[]): ISortItem[]; } //# sourceMappingURL=PluggableBaseChart.d.ts.map