import type { ShapeType } from '../model/shape-model.js'; import type { SVGElementType } from '../model/svg-model.js'; export declare const getColorsReplace: (element: SVGElementType) => Map; export declare const getSvgColor: (colorsReplace: Map, color: string) => string; export declare const replaceSvgColor: (element: SVGElementType, original: string, fill: string) => void; export type ColorSlot = { apply: (color: string) => void; gradient: boolean; }; export type SelectionColor = { color: string; slots: ColorSlot[]; }; export declare const colorKey: (color: string) => string; export declare const collectSelectionColors: (shapes: ShapeType[], svgColors: (src: string) => string[] | undefined) => SelectionColor[];