/** * Copyright (c) Cisco Systems, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import "../avatar/Avatar"; import "../badge/Badge"; import "../icon/Icon"; import { LitElement } from "lit"; import { TaskItemMediaType, TaskItemStatus } from "./TaskItem.constants"; export declare namespace TaskItem { type TaskItemStatus = (typeof TaskItemStatus)[keyof typeof TaskItemStatus]; type TaskItemMediaType = (typeof TaskItemMediaType)[keyof typeof TaskItemMediaType]; class ELEMENT extends LitElement { mediaType: TaskItemMediaType | string; status: TaskItemStatus | string; popovertitle: string; queue: string; queueTimeLabel: string; accepted: boolean; displayOnlyTitle: boolean; quantity: number; lastmessage: string; selected: boolean; disabled: boolean; customAriaLabel: string; iconSrc: string; tabIndexForContainer: string; isRestyle: boolean; /** * @deprecated Use `itemTitle` instead. * Using title may cause an unwanted tooltip. */ get title(): string; set title(title: string); /** * The visible text for the Title. */ get itemTitle(): string; set itemTitle(itemTitle: string); private updateTitle; private displayTitle; private titleValue; private itemTitleValue; private additionEmptyMargin; handleClick(event: MouseEvent): void; handleKeyDown(event: KeyboardEvent): void; getAriaLabel(): string; static get styles(): import("lit").CSSResult[]; private get sanitizedTabIndexForContainer(); private handleAdditionSlotChange; render(): import("lit-html").TemplateResult<1>; } } declare global { interface HTMLElementTagNameMap { "md-task-item": TaskItem.ELEMENT; } }