import type { BackgroundDrawContext, IBackground } from "../../Interfaces/Background/IBackground.js"; import type { IDelta } from "../../../Core/Interfaces/IDelta.js"; import { OptionLoader } from "../../../Utils/OptionLoader.js"; import { OptionsColor } from "../OptionsColor.js"; import type { RecursivePartial } from "../../../Types/RecursivePartial.js"; export declare class Background extends OptionLoader implements IBackground { color: OptionsColor; draw?: (context: BackgroundDrawContext, delta: IDelta) => void; element?: string | HTMLCanvasElement | OffscreenCanvas | HTMLVideoElement | HTMLImageElement; image: string; opacity: number; position: string; repeat: string; size: string; constructor(); protected doLoad(data: RecursivePartial): void; }