import * as lit21 from "lit";
import { LitElement } from "lit";
import * as lit_html20 from "lit-html";

//#region src/gui/EFActiveRootTemporal.d.ts

/**
 * Displays the ID of the active root temporal element from a canvas.
 * Automatically updates when selection changes.
 *
 * @example
 * ```html
 * <ef-active-root-temporal canvas="canvas"></ef-active-root-temporal>
 * ```
 */
declare class EFActiveRootTemporal extends LitElement {
  static styles: lit21.CSSResult;
  /**
   * Canvas element ID or selector to bind to.
   * If not specified, will search for the nearest ef-canvas ancestor.
   */
  canvas: string;
  private activeRootTemporal;
  private canvasElement;
  private activeroottemporalchangeHandler?;
  connectedCallback(): void;
  disconnectedCallback(): void;
  protected updated(changedProperties: Map<string | number | symbol, unknown>): void;
  /**
   * Find the canvas element to bind to.
   */
  private findCanvas;
  /**
   * Setup listener for activeroottemporalchange events.
   */
  private setupListener;
  /**
   * Remove event listener.
   */
  private removeListener;
  render(): lit_html20.TemplateResult<1>;
}
declare global {
  interface HTMLElementTagNameMap {
    "ef-active-root-temporal": EFActiveRootTemporal;
  }
}
//#endregion
export { EFActiveRootTemporal };
//# sourceMappingURL=EFActiveRootTemporal.d.ts.map