import { PptxElement } from 'pptx-viewer-core'; /** Toggleable boolean text-style flags. */ export type TextFlag = 'bold' | 'italic' | 'underline'; /** Flip a boolean text flag (bold / italic / underline). */ export declare function toggleTextFlagPatch(el: PptxElement, flag: TextFlag): Partial; /** Set an absolute font size (clamped to a sane range). */ export declare function setFontSizePatch(el: PptxElement, size: number): Partial; /** Nudge the font size by `delta` points (clamped). */ export declare function adjustFontSizePatch(el: PptxElement, delta: number): Partial; /** Set the text (foreground) colour. */ export declare function setTextColorPatch(el: PptxElement, color: string): Partial; /** Read the text highlight colour (empty string when unset). */ export declare function highlightColorOf(el: PptxElement): string; /** Set the text highlight colour, preserving other text-style fields. */ export declare function setHighlightColorPatch(el: PptxElement, color: string): Partial; /** Set the shape fill colour. */ export declare function setFillColorPatch(el: PptxElement, color: string): Partial; /** * Set the shape fill colour AND force `fillMode` back to `'solid'`. Picking a * flat colour swatch implies solid fill, so it also clears any active * gradient (the renderer prefers `fillMode === 'gradient'` over `fillColor` * when both are present); the patch itself comes from the shared * `shapeFillChange` decision function (React/Vue/Angular/vanilla parity). */ export declare function setSolidFillPatch(el: PptxElement, color: string): Partial; /** Set the shape stroke (outline) colour, via the shared decision function. */ export declare function setStrokeColorPatch(el: PptxElement, color: string): Partial; /** Read the shape stroke width (defaults to 1 when unset). */ export declare function strokeWidthOf(el: PptxElement): number; /** Set the shape stroke width (px), preserving other shape-style fields. */ export declare function setStrokeWidthPatch(el: PptxElement, width: number): Partial; /** Read the shape fill opacity (0..1, defaults to fully opaque when unset). */ export declare function fillOpacityOf(el: PptxElement): number; /** Set the shape fill opacity (0..1), preserving other shape-style fields. */ export declare function setFillOpacityPatch(el: PptxElement, opacity: number): Partial; /** Read the shape stroke opacity (0..1, defaults to fully opaque when unset). */ export declare function strokeOpacityOf(el: PptxElement): number; /** Set the shape stroke opacity (0..1), preserving other shape-style fields. */ export declare function setStrokeOpacityPatch(el: PptxElement, opacity: number): Partial; //# sourceMappingURL=editor-format-mutations.d.ts.map