import { Cell, WorkbookInstance } from '../../sheet-engine/react'; export type FormulaSyncType = { row: number; column: number; newValue: Record; apiData: Array> | Array>; sheetEditorRef: React.RefObject; shouldIgnoreUsdValue?: boolean; /** Instruction lines rendered above the formula table (synced to Yjs). */ staticLinesAbove?: string[]; }; export declare function isUsdValue(str: string): boolean; export declare const USD_FA: string; export declare const formulaResponseUiSync: ({ row, column, newValue, apiData, sheetEditorRef, shouldIgnoreUsdValue, staticLinesAbove, }: FormulaSyncType) => void; export declare const getCellClone: (r: number, c: number, sheetEditorRef: React.RefObject) => { v?: string | number | boolean; m?: string | number; mc?: { r: number; c: number; rs?: number; cs?: number; }; f?: string; _formulaEditHtml?: string; ct?: { fa?: string; t?: string; tb?: string; s?: any; dp?: number; }; qp?: number; spl?: any; bg?: string; lo?: number; rt?: number; baseValue?: number | string; baseCurrency?: string; baseCurrencyPrice?: string | number; isDataBlockFormula?: boolean; ps?: { left: number | null; top: number | null; width: number | null; height: number | null; value: string; isShow: boolean; }; hl?: { r: number; c: number; id: string; }; error?: import('../../sheet-engine/core/types').CellError; bl?: number; it?: number; ff?: number | string; fs?: number; fc?: string; ht?: number; vt?: number; tb?: string; cl?: number; un?: number; tr?: string; }; export declare const isNumValue: (v: any) => boolean; export declare const cloneInlineStyles: (styles: any) => any; export declare const buildCellFormat: (value: any, existingCt: Cell["ct"], header?: string) => { t: string; fa: string; ht: number; tb?: string; dp?: number; } | { t: string; fa: string; s: any; tb?: string; dp?: number; } | { t: string; fa: string; tb?: string; dp?: number; }; export declare const preserveTextColorFromInlineStyle: (existing: any, nextIsNum: boolean) => { fc?: undefined; } | { fc: any; }; export declare const cloneCellStyles: (cell: Cell) => { v?: string | number | boolean; m?: string | number; mc?: { r: number; c: number; rs?: number; cs?: number; }; f?: string; _formulaEditHtml?: string; ct?: { fa?: string; t?: string; tb?: string; s?: any; dp?: number; }; qp?: number; spl?: any; bg?: string; lo?: number; rt?: number; baseValue?: number | string; baseCurrency?: string; baseCurrencyPrice?: string | number; isDataBlockFormula?: boolean; ps?: { left: number | null; top: number | null; width: number | null; height: number | null; value: string; isShow: boolean; }; hl?: { r: number; c: number; id: string; }; error?: import('../../sheet-engine/core/types').CellError; bl?: number; it?: number; ff?: number | string; fs?: number; fc?: string; ht?: number; vt?: number; tb?: string; cl?: number; un?: number; tr?: string; };