import { type StructuralAxisKind, type StructuralAxisTransform } from '@bilig/formula';
import { type WorkbookDrawingArtifactsSnapshot } from '@bilig/protocol';
import type { WorkbookPreservedMetadataRecord } from '../../workbook-metadata-types.js';
import type { WorkbookStore } from '../../workbook-store.js';
export declare function rewritePreservedChartPackageArtifactsForStructuralTransform(metadata: WorkbookPreservedMetadataRecord, sheetName: string, transform: StructuralAxisTransform): WorkbookPreservedMetadataRecord | undefined;
export declare function preservedChartPackageArtifactsTouchStructuralDelete(metadata: WorkbookPreservedMetadataRecord, sheetName: string, axis: StructuralAxisKind, start: number, count: number): boolean;
export declare function rewriteDrawingChartPackageArtifactsForStructuralTransform(args: {
    readonly workbook: WorkbookStore;
    readonly sheetName: string;
    readonly transform: StructuralAxisTransform;
}): void;
export declare function drawingChartPackageArtifactsTouchStructuralDelete(workbook: WorkbookStore, sheetName: string, axis: StructuralAxisKind, start: number, count: number): boolean;
export declare function renamePreservedChartPackageArtifactsSheetReferences(metadata: WorkbookPreservedMetadataRecord, oldSheetName: string, newSheetName: string): WorkbookPreservedMetadataRecord | undefined;
export declare function renameDrawingChartPackageArtifactsSheetReferences(drawingArtifacts: WorkbookDrawingArtifactsSnapshot | undefined, oldSheetName: string, newSheetName: string): WorkbookDrawingArtifactsSnapshot | undefined;
export declare function rewritePreservedChartPackageArtifactsForSheetDeletion(metadata: WorkbookPreservedMetadataRecord, deletedSheetName: string): WorkbookPreservedMetadataRecord | undefined;
export declare function rewriteDrawingChartPackageArtifactsForSheetDeletion(drawingArtifacts: WorkbookDrawingArtifactsSnapshot | undefined, deletedSheetName: string): WorkbookDrawingArtifactsSnapshot | undefined;
