import * as csstree from "css-tree"; import { type UnitValue, type VarValue } from "@webstudio-is/css-engine"; import type { GradientColorValue, GradientStop } from "./types"; export declare const angleUnitIdentifiers: readonly ["deg", "grad", "rad", "turn"]; export declare const isAngleUnit: (unit: string) => boolean; export declare const isAngleDimension: (node: csstree.CssNode) => node is csstree.Dimension; export declare const isAngleLikeFallback: (fallback: VarValue["fallback"]) => boolean; export declare const isVarAngle: (value: VarValue) => boolean; export declare const mapLengthPercentageOrVar: (node?: csstree.CssNode) => UnitValue | VarValue | undefined; export declare const getColor: (node: csstree.CssNode) => GradientColorValue | undefined; export declare const isColorStop: (node: csstree.CssNode) => boolean; export declare const withoutWhitespaceNodes: (nodes: csstree.CssNode[]) => csstree.CssNode[]; export declare const parseGradientStopFromParts: (nodes: csstree.CssNode[]) => GradientStop | undefined; export declare const parseGradientHintFromParts: (nodes: csstree.CssNode[]) => GradientStop["hint"] | undefined; export declare const formatGradientStops: (stops: GradientStop[]) => string; export declare const normalizeRepeatingGradient: (gradient: string, repeatingName: string, baseName: string) => { normalized: string; isRepeating: boolean; }; export declare const forEachGradientParts: (ast: csstree.CssNode, functionName: string, callback: (parts: csstree.CssNode[]) => void) => void;