import * as lit30 from "lit";
import { LitElement } from "lit";
import * as lit_html28 from "lit-html";

//#region src/canvas/EFCanvasItem.d.ts

/**
 * Canvas item wrapper component.
 *
 * @deprecated This component is deprecated. All DOM nodes in ef-canvas are now automatically
 * treated as canvas elements. Use plain HTML elements (div, etc.) instead.
 *
 * @example
 * ```html
 * <!-- Old way (deprecated) -->
 * <ef-canvas>
 *   <ef-canvas-item id="item-1" style="left: 100px; top: 100px;">
 *     <div>My content</div>
 *   </ef-canvas-item>
 * </ef-canvas>
 *
 * <!-- New way -->
 * <ef-canvas>
 *   <div id="item-1" style="left: 100px; top: 100px;">
 *     <div>My content</div>
 *   </div>
 * </ef-canvas>
 * ```
 */
declare class EFCanvasItem extends LitElement {
  static styles: lit30.CSSResult;
  id: string;
  private canvas;
  private api;
  private registeredId;
  connectedCallback(): void;
  disconnectedCallback(): void;
  /**
   * Find parent ef-canvas and register this element.
   */
  private findAndRegister;
  /**
   * Unregister this element from the canvas.
   */
  private unregister;
  render(): lit_html28.TemplateResult<1>;
}
declare global {
  interface HTMLElementTagNameMap {
    "ef-canvas-item": EFCanvasItem;
  }
}
//#endregion
export { EFCanvasItem };
//# sourceMappingURL=EFCanvasItem.d.ts.map