import type { ICellData, IDocumentData, IRange, Nullable, ObjectMatrix, ParseOptions, Styles, Workbook, Worksheet } from '@univerjs/core'; import type { IChartSourceRangeItem, OptionDataValue } from '../models/types'; import { ChartSourceDataTypeEnum } from '@univerjs-pro/engine-chart'; import { numfmt } from '@univerjs/core'; type ChartSourcePatternInfoRecord = Record>; export interface IChartSourceCellEntry { value: OptionDataValue; label: string; sourceType: ChartSourceDataTypeEnum; } /** Read the final Header layer on the vector axis, then its merge owner; RTL does not change this logical corner. */ export declare function readChartHeaderReference(workbook: Nullable, source: IChartSourceRangeItem, isRowDirection: boolean): string | undefined; export declare const getStringFromDataStream: (data: IDocumentData) => string; export declare function convertArrayLikeRangeInfoToMatrix(sourceRange: IRange, sheet: Worksheet, index: number, matrix: ObjectMatrix, sourceTypeMatrix: ObjectMatrix, sourceLabelsMatrix: ObjectMatrix, styles: Styles, numfmtOptions?: ParseOptions): void; export declare function getCellSourceEntry(worksheet: Worksheet, row: number, column: number, styles: Styles, patternInfoRecord: ChartSourcePatternInfoRecord, numfmtOptions?: ParseOptions): IChartSourceCellEntry; export declare function convertCellDataToSourceEntry(cellData: Nullable, styles: Styles, patternInfoRecord: ChartSourcePatternInfoRecord, sourceCellData?: Nullable, numfmtOptions?: ParseOptions): IChartSourceCellEntry; export {};