import { SystemConfig } from "../types";
export declare class Nebula {
    private config;
    private element;
    private readonly bgCanvas;
    private readonly canvas;
    private cancelAnimations;
    private coloration?;
    private stars;
    private comets;
    private planets;
    constructor({ config, element, }: {
        config: SystemConfig;
        element: HTMLElement;
    });
    private onResize;
    private styleCanvas;
    setConfig(config: SystemConfig): void;
    private init;
    draw(): void;
    destroy(): void;
}
