/// <reference types="clientapp/app/res/resources" />
import { FoundationElement } from "@microsoft/fast-foundation";
import { IWidgetInstanceInternal } from "../../../../widgetRuntime/orchestrator/IWidgetInstanceInternal";
import { IWidgetSettingsEventHandler, WidgetSettingsEventInternal } from "../../../../widgetRuntime/widgetApis/widgetInternalApi.interfaces";
import { MenuItemProps } from "../action-menu/action-menu";
export declare class TitleBar extends FoundationElement implements IWidgetSettingsEventHandler {
    resources: import("UiResources").IUiResources;
    widgetInstance: IWidgetInstanceInternal;
    isActionMenuOpen: boolean;
    isMenuButtonDisabled: boolean;
    title: string;
    activationUrl: string | null;
    widgetIconUri: string | null;
    loading: boolean;
    error: boolean;
    lastUpdated: string;
    isPinned: boolean;
    showPinIcon: boolean;
    menuItems: MenuItemProps[];
    actionsMenuButtonElement?: HTMLElement;
    actionsMenuButtonBoundingRect?: DOMRect;
    private isTempMediumSizeRef;
    private isSettingsSupported;
    private orchestrator;
    private widgetModelApi;
    private signalApi;
    private telemetryApi;
    isPinnedChanged(oldValue: boolean, newValue: boolean): void;
    constructor();
    connectedCallback(): void;
    disconnectedCallback(): void;
    onTitleClick(event: Event): boolean;
    onActivationUrlClick(event: Event): boolean;
    toggleActionMenu(isActionMenuOpen: boolean, event: any): void;
    widgetSettingsEventsCallback(eventName: WidgetSettingsEventInternal): void;
    private sendSignalForWidgetInteraction;
    private sendSignalForSettingInteraction;
    private widgetModelEventCallback;
    private updateSize;
    private closeActionMenu;
    private onPropertyChange;
    private onOrchestratorEvent;
    private onSizeClick;
    /**
     * Get widget action menu per config
     */
    private getActionMenuItems;
    private onOutsideClick;
    private onKeydown;
    private isWidgetPinnable;
}
