import { PptxElement, ShapeStyle } from 'pptx-viewer-core'; import { CssStyleMap } from 'pptx-viewer-shared'; /** * Element style computation for the Svelte binding. Port of the Vue * `element-style` composable: everything non-trivial (fill resolution, * effects, 3D, clip paths) is delegated to `pptx-viewer-shared`; this module * only assembles the pieces into neutral style maps. */ /** Absolute container style: position, size, rotation, flip, opacity, z-index. */ export declare function getContainerStyle(el: PptxElement, zIndex: number): CssStyleMap; /** * Fill / stroke / effects / geometry for shape-like elements. Returns an * empty map when the element carries no shape styling. Mirrors the Vue * binding's `getShapeFillStrokeStyle` (itself a port of React's * `getShapeVisualStyle` priority cascade). */ export declare function getShapeFillStrokeStyle(el: PptxElement, parentGroupFill?: ShapeStyle, animatesFill?: boolean, animatesStroke?: boolean): CssStyleMap; /** * Merge container + shape styles for a shape box, composing the container's * rotation/flip transform with any 3D transform from the shape style instead * of letting the spread clobber it. Mirrors Vue's `shapeDivStyle`. */ export declare function getShapeBoxStyle(el: PptxElement, zIndex: number, parentGroupFill?: ShapeStyle, animatesFill?: boolean, animatesStroke?: boolean): CssStyleMap; /** Resolve a displayable image source for picture/image/media poster frames. */ export declare function getImageSrc(el: PptxElement, mediaDataUrls: Map): string | undefined; //# sourceMappingURL=element-style.d.ts.map