import type Accessor from "../core/Accessor.js"; import type Collection from "../core/Collection.js"; import type EsriError from "../core/Error.js"; import type TableItemPanel from "./TableItemPanel.js"; import type { IdentifiableMixin } from "../core/Identifiable.js"; import type { Action, TableItemLayer, TableItemModifier, TableItemProperties, TableItemPanelProperties } from "./types.js"; import type { ActionToggleProperties } from "../support/actions/ActionToggle.js"; import type { ActionButtonProperties } from "../support/actions/ActionButton.js"; import type { ReadonlyArrayOrCollection } from "../core/Collection.js"; /** * Represents a table-related list item with support for child items, actions, and panel state. * * @internal */ export default class TableItem extends TableItemSuperclass { /** @internal */ constructor(properties?: TableItemProperties); /** * Indicates whether the actions state is open. * * @default false * @internal */ accessor actionsOpen: boolean; /** * A nested 2-dimensional collection of actions that can be triggered on the item. * * @internal */ get actionsSections(): Collection>; set actionsSections(value: ReadonlyArrayOrCollection>); /** * Enables publish-status checks used by [publishing](https://developers.arcgis.com/javascript/latest/references/core/layerList/TableItem/#publishing). * * @default false * @internal */ accessor checkPublishStatusEnabled: boolean; /** * Child items when the associated layer contains sublayers. * * @internal */ get children(): Collection; set children(value: ReadonlyArrayOrCollection); /** * The error object returned if an error occurred. * * @internal */ get error(): EsriError | null | undefined; /** * When `true`, marks this item as hidden for consumer UIs. * * @default false * @internal */ accessor hidden: boolean; /** * The layer associated with the triggered action. * * @internal */ accessor layer: TableItemLayer; /** @internal */ accessor listItemCreatedFunction: TableItemModifier | null | undefined; /** * Specifies whether to ignore the [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) property of child layers. * * @default false * @internal * @see [Layer.listMode](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#listMode) */ accessor listModeDisabled: boolean; /** * Indicates whether the item is open. * * @default false * @internal */ accessor open: boolean; /** * Additional panel state associated with this item. * * @internal */ get panel(): TableItemPanel; set panel(value: TableItemPanelProperties); /** * The parent item. * * @internal */ accessor parent: TableItem | null | undefined; /** * Value is `true` when the [layer](https://developers.arcgis.com/javascript/latest/references/core/layerList/TableItem/#layer) is being published. * Value is `false` when not publishing or when * [checkPublishStatusEnabled](https://developers.arcgis.com/javascript/latest/references/core/layerList/TableItem/#checkPublishStatusEnabled) is `false`. * * @default false * @internal */ get publishing(): boolean; /** * @default true * @internal */ accessor sortable: boolean; /** * The title of the associated table. * * @internal */ get title(): string; set title(value: string | null | undefined); /** * Creates a deep clone of this object. * * @returns A clone of the new [TableItem](https://developers.arcgis.com/javascript/latest/references/core/layerList/TableItem/) instance. * @internal */ clone(): TableItem; } declare const TableItemSuperclass: typeof Accessor & typeof IdentifiableMixin