import { PptxSlide } from 'pptx-viewer-core'; /** * Z-order (paint-order) reordering for the Svelte editor. * * The array-level primitives (`bringToFront`, `sendToBack`, `bringForward`, * `sendBackward`) are the shared, framework-agnostic operations from * `pptx-viewer-shared` (`render/element-operations`), where array index 0 is * the back and the last index is the front. This module only lifts them to the * slide-array shape the editor state stores, reusing the same immutable * `mapSlideElements` helper as the other mutations. */ /** Which way to move the selected element through the paint-order stack. */ export type ZOrderDirection = 'front' | 'back' | 'forward' | 'backward'; /** Reorder the element with `id` on the given slide (immutable). */ export declare function reorderElement(slides: readonly PptxSlide[], slideIndex: number, id: string, direction: ZOrderDirection): PptxSlide[]; //# sourceMappingURL=editor-zorder.d.ts.map