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

/**
 * @cssproperty [--calcite-table-header-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-header-background-color` instead. Specifies the component's background color.
 * @cssproperty [--calcite-table-header-background-color] - Specifies the component's background color.
 * @cssproperty [--calcite-table-header-border-color] - Specifies the component's border color.
 * @cssproperty [--calcite-table-header-heading-text-color] - Specifies the component's `heading` text color.
 * @cssproperty [--calcite-table-header-description-text-color] - Specifies the component's `description` text color.
 */
export abstract class TableHeader 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 | undefined;
  /** Specifies a description for the component. Displays below the `heading`. */
  accessor description: string | undefined;
  /** Specifies the component's heading text. Displays above the `description`. */
  accessor heading: string | undefined;
  /** Overrides individual strings used by the component. */
  accessor messageOverrides: {
      all?: string;
      keyboardDeselectAll?: string;
      keyboardSelectAll?: string;
      rowNumber?: string;
      selected?: string;
      selectionColumn?: 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>;
}