import type { RuntimeContext } from '../../runtime/types';
import type { BasePluginOptions } from '../base-plugin';
import { BasePlugin } from '../base-plugin';
/**
* 背景配置项
*
* Background options
*/
export interface BackgroundOptions extends BasePluginOptions, CSSStyleDeclaration {
}
/**
* 背景图
*
* Background image
* @remarks
* 支持为图画布设置一个背景图片,让画布更有层次感、叙事性。
*
* Support setting a background image for the canvas to make the canvas more hierarchical and narrative.
*/
export declare class Background extends BasePlugin {
static defaultOptions: Partial;
private $element;
constructor(context: RuntimeContext, options: BackgroundOptions);
/**
* 更新背景图配置
*
* Update the background image configuration
* @param options - 配置项 | Options
* @internal
*/
update(options: Partial): Promise;
/**
* 销毁背景图
*
* Destroy the background image
* @internal
*/
destroy(): void;
}