import type { Cell } from '@fortune-sheet/core'; import type { WorkSpreadsheetContent } from '../work-types'; import { type SpreadsheetCellRange, type SpreadsheetCellRangeInput } from './spreadsheet-cell-range'; import type { SpreadsheetCommandContext, SpreadsheetEditorCommands } from './spreadsheet-command-controller'; import { type OfficeEditorExtension } from './office-editor-extension'; export type SpreadsheetDecimalPlacesDirection = 'decrease' | 'increase'; export declare const MAX_SPREADSHEET_DECIMAL_FORMAT_CELLS = 10000; export interface SpreadsheetDecimalFormatApiCall { name: 'setCellFormatByRange'; args: [ 'ct', NonNullable & { fa: string; t: string; }, SpreadsheetCellRange, { id: string; } ]; } export declare function createSpreadsheetNumberFormatExtension(): OfficeEditorExtension; export declare function canAdjustSpreadsheetDecimalPlaces(content: WorkSpreadsheetContent, sheetId: string, range: SpreadsheetCellRangeInput, direction: SpreadsheetDecimalPlacesDirection): boolean; export declare function spreadsheetDecimalFormatApiCalls(cells: readonly (readonly (Cell | null)[])[], range: SpreadsheetCellRangeInput, sheetId: string, direction: SpreadsheetDecimalPlacesDirection): SpreadsheetDecimalFormatApiCall[];