import { BorderInfo } from '../../../borders/border-info'; import { ITableCellComplexPropertyWithUseManipulator, ITableCellPropertyWithUseManipulator } from '../../../manipulators/i-properties-manipulator'; import { ModelManipulator } from '../../../manipulators/model-manipulator'; import { ShadingInfo } from '../../../shadings/shading-info'; import { SubDocument } from '../../../sub-document'; import { TablePosition } from '../../../tables/main-structures/table'; import { TableCellMergingState, TableCellVerticalAlignment, TextDirection } from '../../../tables/secondary-structures/table-base-structures'; import { TableWidthUnit } from '../../../tables/secondary-structures/table-units'; import { HistoryItemState } from '../../states/history-item-state'; import { HistoryItemTableCellComplexUseStateObject, HistoryItemTableCellStateObject, HistoryItemTableCellUseStateObject } from '../../states/history-item-state-object'; import { TableBasedHistoryItem } from './create-table-history-item'; export declare abstract class TableCellPropertiesHistoryItemBase extends TableBasedHistoryItem { newValue: T; rowIndex: number; cellIndex: number; constructor(modelManipulator: ModelManipulator, boundSubDocument: SubDocument, tableIndex: number, rowIndex: number, cellIndex: number, newValue: T); } export declare class TableCellColumnSpanHistoryItem extends TableCellPropertiesHistoryItemBase { oldState: HistoryItemState; redo(): void; undo(): void; } export declare class TableCellVerticalMergingHistoryItem extends TableCellPropertiesHistoryItemBase { oldState: HistoryItemState; redo(): void; undo(): void; static fromPosition(modelManipulator: ModelManipulator, boundSubDocument: SubDocument, position: TablePosition, value: TableCellMergingState): TableCellVerticalMergingHistoryItem; } export declare class TableCellPropertiesUseHistoryItemBase extends TableCellPropertiesHistoryItemBase { oldState: HistoryItemState; newUse: boolean; constructor(modelManipulator: ModelManipulator, boundSubDocument: SubDocument, tableIndex: number, rowIndex: number, cellIndex: number, newValues: T, newUse: boolean); redo(): void; undo(): void; getManipulator(): ITableCellPropertyWithUseManipulator; } export declare class TableCellPropertiesComplexUseHistoryItemBase extends TableCellPropertiesHistoryItemBase> { oldState: HistoryItemState; newUses: boolean[]; constructor(modelManipulator: ModelManipulator, boundSubDocument: SubDocument, tableIndex: number, rowIndex: number, cellIndex: number, newValues: T[], newUses: boolean[]); redo(): void; undo(): void; getManipulator(): ITableCellComplexPropertyWithUseManipulator; } export declare class TableCellCellMarginsHistoryItem extends TableCellPropertiesComplexUseHistoryItemBase { getManipulator(): ITableCellComplexPropertyWithUseManipulator; } export declare class TableCellBordersHistoryItem extends TableCellPropertiesComplexUseHistoryItemBase { getManipulator(): ITableCellComplexPropertyWithUseManipulator; } export declare class TableCellPreferredWidthHistoryItem extends TableCellPropertiesHistoryItemBase { oldState: HistoryItemState; redo(): void; undo(): void; } export declare class TableCellHideCellMarkHistoryItem extends TableCellPropertiesUseHistoryItemBase { getManipulator(): ITableCellPropertyWithUseManipulator; } export declare class TableCellNoWrapHistoryItem extends TableCellPropertiesUseHistoryItemBase { getManipulator(): ITableCellPropertyWithUseManipulator; } export declare class TableCellFitTextHistoryItem extends TableCellPropertiesUseHistoryItemBase { getManipulator(): ITableCellPropertyWithUseManipulator; } export declare class TableCellTextDirectionHistoryItem extends TableCellPropertiesUseHistoryItemBase { getManipulator(): ITableCellPropertyWithUseManipulator; } export declare class TableCellVerticalAlignmentHistoryItem extends TableCellPropertiesUseHistoryItemBase { getManipulator(): ITableCellPropertyWithUseManipulator; } export declare class TableCellShadingInfoHistoryItem extends TableCellPropertiesUseHistoryItemBase { getManipulator(): ITableCellPropertyWithUseManipulator; }