import type { Rgb } from './color'; /** * Resolve the solid colour painted behind `element` by compositing its ancestors' * background colours. Returns `null` when the backdrop cannot be determined reliably, * e.g. an ancestor paints a background image or gradient. */ export declare function getBackgroundBehind(element: Element): Rgb | null; /** * Load a (small) CORS-enabled image and return its RGBA pixels. */ export declare function loadImagePixels(url: string): Promise;