/// <reference path="../../index.d.ts" />
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
import type { Alignment } from "../interfaces.js";

/**
 * @cssproperty [--calcite-table-cell-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-cell-background-color` instead. Specifies the component's background color.
 * @cssproperty [--calcite-table-cell-background-color] - Specifies the component's background color.
 * @cssproperty [--calcite-table-cell-border-color] - Specifies the component's border color.
 * @cssproperty [--calcite-table-cell-text-color] - Specifies the component's text color.
 * @slot  - A slot for adding content, usually text content.
 */
export abstract class TableCell extends LitElement {
  /**
   * Specifies the horizontal alignment of content within the component, where:
   * `"start"` positions content at the start of the component,
   * `"center"` positions content in the middle of the component, and
   * `"end"` positions content at the end of the component.
   *
   * @default "start"
   */
  accessor alignment: Alignment;
  /** Specifies the number of columns the component should span. */
  accessor colSpan: number | undefined;
  /** Overrides individual strings used by the component. */
  accessor messageOverrides: {
      keyboardDeselect?: string;
      keyboardSelect?: string;
      row?: string;
      selected?: string;
      unselected?: string;
  };
  /** Specifies the number of rows the component should span. */
  accessor rowSpan: number | undefined;
  /**
   * Sets focus on the component.
   *
   * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
   * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
   */
  setFocus(options?: FocusOptions): Promise<void>;
}