import { MpSdk } from "../../bundle/sdk"; import { Notyf } from 'notyf'; import 'notyf/notyf.min.css'; declare let activeToolbarItem: HTMLElement, activeActionItem: HTMLElement, cancelModelPlacementPrompt: HTMLDivElement; export declare let notyf: Notyf; declare let isCustomMapControlsVisible: boolean; declare let pipeColor: string; declare function batchAddEventListenerByClassName(className: string, callback: EventListener): void; /** * @param attrName - The name of the data attribute (without the "data-" prefix), e.g. 'toggle-pane' * @param callback - The function to call when the element is clicked * @param options - Optional settings: * - ignoreSelectors: An array of CSS selectors. If the event target matches any of these, * the callback will be skipped (useful for nested buttons or icons). */ declare function batchAddEventListenerByDataAttribute(attrName: string, callback: EventListener, options?: { ignoreSelectors?: string[]; }): void; declare function batchAddEventListenerByClassNames(classNames: Array, callback: EventListener): void; declare function batchAddEventListenerById(ids: Array, callback: EventListener): void; declare function setActiveToolbarItem(itemId: string): void; declare function toggleDisplayPane(targetId: string): Promise; declare function renderTagPaneContent(): Promise; declare function toggleActionBar(state: string): void; export declare function handleUserLeaveSessionClick(): void; declare function setupIndividualEventListeners(): void; declare function handleToggleVisibilityTags(): void; declare function handleModelVisibility(objId: string): Promise; declare function handleDeleteModel(objId: string): Promise; declare function handleShowMinimap(): void; declare function handleScrollToView(scrollContainerId: string, targetId: string): void; declare function handleRenderMeetingUI(): void; declare function setupSpaceEventSubscriptions(): void; /** * Toggles the visibility of the partitions within a room tree. * @param {string} targetId - ID of the target partition element. */ declare function handlePartitionVisibility(targetId: string): Promise; /** * Toggles the visibility of the child partitions within a partition tree. (FLOOR and WALLS) * @param {string} targetId - ID of the target partition element. */ declare function handlePolygonVisibility(targetId: string): Promise; declare function handleDeletePartition(targetId: string): void; /** * Handles the display logic for showing the custom minimap. */ declare function handleShowCustomMinimap(): void; declare function handleDisplayElements(id: string): void; declare function handleWindowVisibility(visibilityBtn: HTMLElement, updateStateDB: boolean, fromParentVisibilityState?: boolean): Promise; declare function clearActivePane(): void; declare function handleVisiblePartitions(mpSdk: MpSdk): void; export { activeToolbarItem, activeActionItem, cancelModelPlacementPrompt, isCustomMapControlsVisible, pipeColor, batchAddEventListenerById, batchAddEventListenerByClassName, batchAddEventListenerByClassNames, batchAddEventListenerByDataAttribute, setActiveToolbarItem, toggleDisplayPane, toggleActionBar, setupIndividualEventListeners, setupSpaceEventSubscriptions, handleModelVisibility, handleDeleteModel, handleShowMinimap, handleScrollToView, handleRenderMeetingUI, handleShowCustomMinimap, renderTagPaneContent, handlePartitionVisibility, handlePolygonVisibility, handleDeletePartition, handleToggleVisibilityTags, handleDisplayElements, handleWindowVisibility, clearActivePane, handleVisiblePartitions };