/** * Live paint for fill / gradient / opacity. Same contract as applyLiveSize: * write the canvas DOM during the gesture. Do not go through the store until * pointerup — a store write rebuilds the preview raster and the canvas list. */ import type { Gradient } from '../types/slides'; export declare const liveGradientId: (elementId: string, source?: string) => string; export declare const liveGradientTransform: (rotate: number) => string; /** Single writer for SVG gradient stops. React must not also own these children. */ export declare const syncGradientDef: (def: Element, gradient: Pick) => void; export declare const applyLiveGradient: (elementId: string, gradient: Gradient, source?: string) => boolean; export declare const applyLiveBackgroundGradient: (gradient: Gradient) => boolean; export declare const readPaintedGradientRotate: (elementId: string, source?: string) => number | null;