import type { ReactNode } from 'react'; import type { IChartOptionType } from '../../services/sheets-chart-ui.service'; import { AreaLineStyle, AxisAlignEnum, ChartBorderDashType, ChartTrendlineType, InvalidValueType, LabelContentType, LegendPositionEnum, LinePointShape, PieLabelPosition, RadarShape, SelectModeEnum, SeriesLabelPosition, TextAlign, TextVerticalAlign, TitlePositionEnum, WaterfallStackTypeEnum } from '@univerjs-pro/engine-chart'; export type OptionType = IChartOptionType; export declare const defaultOption: { label: string; value: string; }; export declare const chartTypeToIcon: Record; export declare const seriesChartTypeOptions: { label: string; value: string; }[]; export declare const titleOptions: readonly [{ readonly label: "chart.titles.mainTitle"; readonly value: "title"; }, { readonly label: "chart.titles.xAxisTitle"; readonly value: "xAxisTitle"; }, { readonly label: "chart.titles.yAxisTitle"; readonly value: "yAxisTitle"; }, { readonly label: "chart.titles.rightYAxisTitle"; readonly value: "rightYAxisTitle"; }]; export type TitleOptionValue = typeof titleOptions[number]['value'] | 'subtitle'; export declare const fontSizeOptions: readonly [{ readonly label: "10"; readonly value: "10"; }, { readonly label: "12"; readonly value: "12"; }, { readonly label: "14"; readonly value: "14"; }, { readonly label: "16"; readonly value: "16"; }, { readonly label: "18"; readonly value: "18"; }, { readonly label: "20"; readonly value: "20"; }, { readonly label: "24"; readonly value: "24"; }, { readonly label: "30"; readonly value: "30"; }, { readonly label: "36"; readonly value: "36"; }]; export declare const textAlignOptions: readonly [{ readonly label: "chart.align.left"; readonly value: "left"; }, { readonly label: "chart.align.center"; readonly value: "center"; }, { readonly label: "chart.align.right"; readonly value: "right"; }]; export type TextAlignOptionValue = typeof textAlignOptions[number]['value']; export declare function getAllSeriesOption(): { label: string; value: string; }; export declare const lineOpacityOptions: { label: string; value: string; }[]; export declare const axisPositionOptions: { label: string; value: string; }[]; export declare const borderDashTypeOptions: { label: string; value: ChartBorderDashType; }[]; export declare const linePointShapeOptions: { label: string; value: LinePointShape; }[]; export declare const linePointSizeOptions: { label: string; value: string; }[]; export declare const borderWidthOptions: { label: string; value: string; }[]; export declare const axisLabelRotateOptions: { label: string; value: string; }[]; export declare const trendlineTypeOptions: { label: string; value: ChartTrendlineType; }[]; export declare const trendlineToIcon: Record; export declare const trendlineOrderOptions: { label: string; value: string; }[]; export declare const dataLabelPositionOptions: { label: string; value: SeriesLabelPosition; }[]; export declare const pieDataLabelPositionOptions: { label: string; value: PieLabelPosition; }[]; export declare const legendLabelPositionOptions: { label: string; value: LegendPositionEnum; }[]; export declare const legendSelectModeOptions: { label: string; value: SelectModeEnum; }[]; export declare const legendVisualMapTypeOptions: { label: string; value: string; }[]; export declare const titlePositionOptions: { label: string; value: TitlePositionEnum; }[]; export declare const axisTitlePositionOptions: { label: string; value: AxisAlignEnum; }[]; /** * chart title position options X */ export declare const titlePositionXOptions: { label: string; value: TextAlign; }[]; /** * chart title position options Y */ export declare const titlePositionYOptions: { label: string; value: TextVerticalAlign; }[]; export declare const axisListOptions: { value: string; label: string; }[]; export declare const tickThicknessOptions: { label: string; value: string; }[]; export declare const stackTypeOptions: OptionType[]; export declare const areaLineTypeOptions: { label: string; value: AreaLineStyle; }[]; export declare const pieDonutHoleOptions: { label: string; value: string; }[]; export declare const radarShapeOptions: { label: string; value: RadarShape; }[]; export declare const invalidValueOptions: { label: string; value: InvalidValueType; }[]; export declare const labelContentTypeList: LabelContentType[]; export declare const labelContentOptions: { value: string; label: string; }[]; export declare const pieLabelContentOptions: { value: string; label: string; }[]; export declare const tickLengthOptions: { label: string; value: string; }[]; export declare const tickWidthOptions: { label: string; value: string; }[]; export declare const RelationLayoutOptions: { label: string; value: string; }[]; export declare const DateFormatList: { label: string; suffix: string; }[]; export declare const ThousandsSeparatorFormatList: ({ label: string; suffix: string; color?: undefined; } | { label: string; suffix: string; color: string; })[]; export declare const CurrencyFormatList: ({ label: (suffix: string) => string; suffix: (suffix: string) => string; color?: undefined; } | { label: (suffix: string) => string; suffix: (suffix: string) => string; color: string; })[]; export declare const currencySymbols: string[]; export declare const UNIVER_SHEET_CHART_FORMAT_DIALOG_ID = "univer-sheet-chart-format-dialog-id"; export declare const UNIVER_SHEET_CHART_FORMAT_DIALOG = "univer-sheet-chart-format-dialog"; export declare const waterfallStackTypeOptions: { label: string; value: WaterfallStackTypeEnum; }[];