import { Subscription } from "rxjs"; declare global { export namespace JSX { interface IntrinsicElements { "cookies-background": {}; } } } export declare class Background extends HTMLElement { waitCookieImage: Promise; cookies: Cookie[]; canvasSizeSubscription: Subscription | null; cookiesSubscription: Subscription | null; connectedCallback(): Promise; render(): Promise; attributeChangedCallback(): void; disconnectedCallback(): void; } interface Cookie { x: number; y: number; rotation: number; clockwiseRotation: boolean; } export {};