import type { ISlidePlaceholderData } from '@univerjs-pro/slides'; import type { ICommand } from '@univerjs/core'; import type { ICreateSlideTableOptions, IUpdateSlideTablePatch } from '../services/slide-table-resource.service'; import type { ISlideTableCellRange, ISlideTableSnapshot } from '../types'; export interface ICreateSlideTableCommandParams extends Omit { unitId: string; subUnitId: string; tableId?: string; elementId?: string; table?: ISlideTableSnapshot; insertIndex?: number; transform?: { left?: number; top?: number; width?: number; height?: number; rotation?: number; }; placeholder?: ISlidePlaceholderData; } export interface IUpdateSlideTableCommandParams { unitId: string; tableId: string; patch: IUpdateSlideTablePatch; } export interface IRemoveSlideTableCommandParams { unitId: string; subUnitId: string; tableId: string; elementId: string; } export interface IInsertSlideTableRowsCommandParams { unitId: string; tableId: string; rowIndex: number; count?: number; height?: number; } export interface IInsertSlideTableColumnsCommandParams { unitId: string; tableId: string; columnIndex: number; count?: number; width?: number; } export interface IDeleteSlideTableRowsCommandParams { unitId: string; tableId: string; startRow: number; endRow: number; } export interface IDeleteSlideTableColumnsCommandParams { unitId: string; tableId: string; startColumn: number; endColumn: number; } export interface IMergeSlideTableCellsCommandParams { unitId: string; tableId: string; range: ISlideTableCellRange; } export interface IUnmergeSlideTableCellsCommandParams { unitId: string; tableId: string; row: number; column: number; } export declare const CreateSlideTableCommand: ICommand; export declare const UpdateSlideTableCommand: ICommand; export declare const RemoveSlideTableCommand: ICommand; export declare const InsertSlideTableRowsCommand: ICommand; export declare const InsertSlideTableColumnsCommand: ICommand; export declare const DeleteSlideTableRowsCommand: ICommand; export declare const DeleteSlideTableColumnsCommand: ICommand; export declare const MergeSlideTableCellsCommand: ICommand; export declare const UnmergeSlideTableCellsCommand: ICommand; export declare const SLIDE_TABLE_COMMANDS: (ICommand | ICommand | ICommand | ICommand | ICommand | ICommand | ICommand | ICommand | ICommand)[];