/**
 * Checks a node for a `style` attribute and, if found, sanitizes it.
 *
 * @param node - node to check
 */
export declare function sanitizeStyle(node: any): void;
/**
 * Applies a whitelist to the CSS properties in the input string.
 * Any CSS properties not in the whitelist will be removed.
 *
 * @param styleValue - a string with CSS properties and values
 * @returns a sanitized version of the input string
 */
/**
 *
 * @param styleValue
 */
export declare function sanitizeStyleValue(styleValue: string): string;
/**
 * Returns a copy of the input object with the `background` property removed.
 * If the `background` property's value was a valid CSS color value, the
 * returned object will have a `background-color` property with the same value.
 *
 * @param css - an object with CSS properties as keys and CSS values as values
 * @returns a modified copy of the input object
 */
/**
 *
 * @param css
 */
export declare function normalizeBackgroundColor(css: Record<string, string>): {
    [x: string]: string;
};
/**
 * Check if a value is a valid CSS color value.
 * Note that this function is not 100% comprehensive. It does not support
 * `currentColor` or `inherit`. It also does not support `var(--variable)` or
 * `rgb(var(--variable))`, for example.
 *
 * @param value - a string to check
 * @returns `true` if the value is a valid CSS color value, `false` otherwise
 */
export declare function isValidCssColorValue(value: string): boolean;
//# sourceMappingURL=sanitize-style.d.ts.map