TeaSpeak-Client/imports/shared-app/ui/tree/Controller.d.ts
2021-02-20 18:55:36 +01:00

9 lines
561 B
TypeScript

import { ChannelTree } from "tc-shared/tree/ChannelTree";
import { Registry } from "tc-shared/events";
import { ChannelTreeUIEvents } from "tc-shared/ui/tree/Definitions";
export interface ChannelTreeRendererOptions {
popoutButton: boolean;
}
export declare function initializeChannelTreeUiEvents(channelTree: ChannelTree, options: ChannelTreeRendererOptions): Registry<ChannelTreeUIEvents>;
export declare function initializeChannelTreeController(events: Registry<ChannelTreeUIEvents>, channelTree: ChannelTree, options: ChannelTreeRendererOptions): void;