import type { EngineOp } from '@bilig/workbook';
import type { CellSnapshot } from '@bilig/protocol';
export declare function getMutationMatrixCell(matrix: readonly (readonly CellSnapshot[])[], rowIndex: number, colIndex: number): CellSnapshot;
export declare function isMutationStructuralInsertOp(op: EngineOp): op is Extract<EngineOp, {
    kind: 'insertRows' | 'insertColumns';
}>;
export declare function inverseMutationStructuralInsertOp(op: Extract<EngineOp, {
    kind: 'insertRows' | 'insertColumns';
}>): Extract<EngineOp, {
    kind: 'deleteRows' | 'deleteColumns';
}>;
export declare function collectLiveCreatedSheetNames(existingSheetNames: Iterable<string>, ops: ReadonlyArray<{
    readonly kind: string;
    readonly name?: string;
    readonly oldName?: string;
    readonly newName?: string;
}>): ReadonlySet<string>;
export declare function translateMutationFormulaForTarget(formula: string, sourceSheetName: string, sourceAddress: string, targetSheetName: string, targetAddress: string): string;
