import { AlignmentTypes, ChartStyleOptions, GaugeIndicatorStyleOptions, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, PivotTableStyleOptions, RadiusSizes, ShadowsTypes, SpaceSizes, TabberButtonsWidgetStyleOptions, TableStyleOptions, TextWidgetStyleOptions, WidgetStyleOptions } from '../../../../../types.js'; import { FusionWidgetType, IndicatorWidgetStyle, TableWidgetStyle, WidgetDesign, WidgetDto, WidgetSubtype } from '../types.js'; /** * Helper function to extract table chart style options from WidgetDto */ export declare function extractTableChartStyleOptions(widgetStyle: TableWidgetStyle): TableStyleOptions; export declare const getIndicatorTypeSpecificOptions: (widgetSubtype: WidgetSubtype, widgetStyle: IndicatorWidgetStyle) => NumericSimpleIndicatorStyleOptions | NumericBarIndicatorStyleOptions | GaugeIndicatorStyleOptions; /** * Helper function to extract pivot table chart style options from WidgetDto */ export declare function extractPivotTableStyleOptions(widget: WidgetDto): PivotTableStyleOptions; /** * Helper function to extract style options from WidgetDto */ export declare function extractStyleOptions(widgetType: WType, widget: WidgetDto): ChartStyleOptions | TableStyleOptions | TextWidgetStyleOptions | TabberButtonsWidgetStyleOptions; export declare const getFlattenWidgetDesign: (widgetDesign: WidgetDesign) => { backgroundColor: string; spaceAround: SpaceSizes; cornerRadius: RadiusSizes; shadow: ShadowsTypes; border: boolean; borderColor: string; header: { titleTextColor: string; titleAlignment: AlignmentTypes; dividerLine: boolean; dividerLineColor: string; backgroundColor: string; }; }; /** * Merges the widget style with the widget design * * @param widgetStyle - The widget style * @param widgetDesign - The widget design * @param isWidgetDesignStyleEnabled - The flag to enable the widget design style * @returns The merged widget style */ export declare function getStyleWithWidgetDesign(widgetStyle: ChartStyleOptions | TableStyleOptions | TextWidgetStyleOptions | TabberButtonsWidgetStyleOptions, widgetDesign?: WidgetDesign, isWidgetDesignStyleEnabled?: boolean): WidgetStyleOptions;