TeaSpeak-Client/imports/shared-app/ui/tree/Controller.d.ts

9 lines
561 B
TypeScript
Raw Normal View History

2021-02-20 12:55:36 -05:00
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;