/// <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] 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 alignment of the component.
   *
   * @default "start"
   */
  accessor alignment: Alignment;
  /** Specifies the number of columns the component should span. */
  accessor colSpan: number;
  /** 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;
  /**
   * 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.
   * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
   */
  setFocus(options?: FocusOptions): Promise<void>;
}