import { BaseContainer } from './BaseContainer.js';
import type { Rect } from '../helpers/Rect.js';
import type { Widget, WidgetProperties } from './Widget.js';
import type { WidgetAutoXML } from '../xml/WidgetAutoXML.js';
/**
 * A container widget that adds a background color.
 *
 * @category Widget
 */
export declare class Background<W extends Widget = Widget> extends BaseContainer<W> {
    static autoXML: WidgetAutoXML;
    constructor(child: W, properties?: Readonly<WidgetProperties>);
    protected onThemeUpdated(property?: string | null): void;
    protected handlePainting(dirtyRects: Array<Rect>): void;
}
