import { DynamicWidget, Router } from "@uuip/unified-ui-platform"; import { LitElement } from "lit"; import "../../components/HeaderActionItems"; import "../../components/advancedHeader/AgentStateSelectorWrapper"; import "../../components/advancedHeader/NotificationWrapper"; import "../../components/advancedHeader/OutdialWrapper"; import "../../components/advancedHeader/WebexWrapper"; export declare const AI_ASSISTANT_V2_ICON = "ai-assistant-v2-icon"; export interface WidgetOptions { comp: string; script?: string; properties?: Record; attributes?: Record; textContent?: string; } export declare const SUITE_WORDMARK_LIGHT = "/assets/icons/svg/webex-suite-wordmark-light-contact-center.svg"; export declare const SUITE_WORDMARK_DARK = "/assets/icons/svg/webex-suite-wordmark-dark-contact-center.svg"; export declare const DEFAULT_TITLE = "Webex Contact Center"; export declare const isDefaultOrEmptyTitle: (title: string) => boolean; type HTMLElementType = HTMLElement | null | undefined; export declare class AgentDynamicHeader extends LitElement { advancedHeader: OptionsType[] | null; dynamicHeader: HTMLElementType; moreButton: HTMLElement; visibleLinks: HTMLElementType; hiddenLinks: HTMLElement; private readonly debouncedUpdateMenu; private aiBlockDisposer?; static get styles(): import("lit").CSSResult; availableSpace: any; DEFAULT_WIDGET_WIDTH: number; initialLoad: any; widgetWidths: any; BUFFER_SPACE: number; INITIALIZE_TIMEOUT: number; ESCAPE_KEY: string; connectedCallback(): void; disconnectedCallback(): void; init(): void; /** * returns value for computed style as a number * @param widget * @param property * @returns Number */ getComputedStyleWithProperty(widget: Element, propertyKey: string): number | undefined; /** * calculates element width along with the margin left property * @param widget * @returns total width */ getElemWidth(widget: Element): number; /** * This method calculates the total space occupied by widgets * eg. wd1=10, wd2=20, wd3=30, so it'll return 60 as total occupied space * @param widgets * @returns number */ getWidgetTotalOccupiedSpace(widgets: HTMLCollection): any; /** * Stores the widths of
  • s being pushed to dropdown * Push the menu to dropdown * @param menuElementToPush */ pushTheElementsToDropDown(menuElementToPush: Element): void; /** * Remove the last element from widths array * Brings the menu item back from dropdown to menu * @param dropDownElementToBringBack */ pushTheElementsBackToMenuBar(dropDownElementToBringBack: Element): void; /** * Loops through visible links and updates menu bar and dropdown * @param visibleChildren */ iterateThroughMenuItems(visibleChildren: HTMLCollection): void; /** * Gets triggered after very page resize event * Updates the menu bar with the count of children to be shown in header * vs count of children to be shown in dropdown menu * Compares the parent container's width as available space to the total space occupied * by the children
  • s */ updateMenu: () => void; addBindings(): void; getAiAssistantComponent: (component: DynamicWidget.Options) => any; private readonly handleAiAssistantToggle; private syncAiToggleState; private renderAiAssistantV2Icon; private getV1AiAssistantOptions; getDynamicProperties(component: DynamicWidget.Options): WidgetOptions | null; render(): import("lit-html").TemplateResult<1>; } declare const AdvancedHeader: () => Router.RouterView.Block; export default AdvancedHeader; //# sourceMappingURL=AdvancedHeaderBlock.d.ts.map