import { CleanupTracking } from '../utils/cleanupTracking/CleanupTracking'; import { TreeViewAnyPluginSignature, TreeViewUsedEvents } from '../models'; import { TreeViewEventListener } from '../models/events'; import { UseTreeViewInstanceEventsInstance } from '../corePlugins/useTreeViewInstanceEvents/useTreeViewInstanceEvents.types'; interface RegistryContainer { registry: CleanupTracking | null; } export declare function createUseInstanceEventHandler(registryContainer: RegistryContainer): >(instance: Instance, eventName: E, handler: TreeViewEventListener[E]>) => void; export declare const unstable_resetCleanupTracking: () => void; export declare const useInstanceEventHandler: >(instance: Instance, eventName: E, handler: TreeViewEventListener[E]>) => void; export {};