import { Status } from "../../DataFrame"; import { ResponseResult } from "../FieldChangeResult"; import { AddNewGroupErrorCode, IChannelsGroup, IChannelsGroupsService, SetObjectsInGroupAndOrderResponseCode } from "./IChannelsGroupsService"; import { IDeviceChannel } from "./IDeviceChannel"; import { IDevice } from "./IDevice"; export declare class ChannelsGroupsService implements IChannelsGroupsService { static readonly ServiceName: string; private _connection; private _synchronized; private _onSynchronized; private _groups; private _objectsGroupingSupported; private _configurationService; private _syncSemaphore; constructor(); private ResyncGroupsAsync; WaitForSynchronizationAsync(): Promise; SetObjectsInGroupAndOrderAsync(group: IChannelsGroup, objects: (IDeviceChannel | IDevice)[]): Promise>; private IsDevice; private IsDeviceChannel; private LogGroupsOrder; private LogObjectsInGroupOrder; ChangeGroupsOrderAsync(orderedGroups: IChannelsGroup[]): Promise; ChangeObjectsPositionsInGroupAsync(group: IChannelsGroup, channels: IDeviceChannel[]): Promise; IsGroupsAndObjectsOrderingAvailable(): boolean; MoveGroupPositionAsync(group: IChannelsGroup, newPosition: number): Promise; MoveObjectInGroupPositionAsync(group: IChannelsGroup, channel: IDeviceChannel, newPosition: number): Promise; AddDeviceChannelToGroupByGuidAsync(channel: IDeviceChannel, groupGuid: string): Promise; AddDeviceChannelToGroupByGuidAsync(channel: IDeviceChannel, groupGuid: string, skipDataUpdate?: boolean): Promise; RemoveDeviceChannelFromGroupByGuidAsync(channel: IDeviceChannel, groupGuid: string): Promise; RemoveDeviceChannelFromGroupByGuidAsync(channel: IDeviceChannel, groupGuid: string, skipDataUpdate?: boolean): Promise; UpsertGroupWithDevicesChannelsAsync(group: IChannelsGroup, deviceChannels: IDeviceChannel[]): Promise | IChannelsGroup>; UpdateGroupWithDevicesChannelsAsync(groupGuid: string, deviceChannels: IDeviceChannel[]): Promise; ChangeGroupNameByGuidAsync(groupGuid: string, name: string): Promise>; ChangeGroupNameAndIconAsync(group: IChannelsGroup, name: string, iconName: string): Promise>; ChangeGroupNameAndIconByGuidAsync(groupGuid: string, name: string, iconName: string): Promise>; ChangeGroupIconNameByGuidAsync(groupGuid: string, iconName: string): Promise>; GetServiceName(): string; GetGroupByGuid(guid: string): IChannelsGroup | null; ChangeGroupNameAsync(group: IChannelsGroup, name: string): Promise>; ChangeGroupIconNameAsync(group: IChannelsGroup, iconName: string): Promise>; RemoveGroupAsync(group: IChannelsGroup): Promise; RemoveGroupByGuidAsync(groupGuid: string): Promise; GetGroupsAsync(useCache?: boolean): Promise; AddDeviceChannelToGroupAsync(channel: IDeviceChannel, group: IChannelsGroup): Promise; AddDeviceChannelToGroupAsync(channel: IDeviceChannel, group: IChannelsGroup, skipDataUpdate?: boolean): Promise; RemoveDeviceChannelFromGroupAsync(channel: IDeviceChannel, group: IChannelsGroup): Promise; RemoveDeviceChannelFromGroupAsync(channel: IDeviceChannel, group: IChannelsGroup, skipDataUpdate?: boolean): Promise; AddNewGroupAsync(name: string): Promise>; AddNewGroupWithIconAsync(name: string, iconName: string): Promise>; }