import { type KeyboardEvent, type PropsWithChildren } from "react";
/**
 * @internal
 */
export type UiTreeViewEvents = {
    keydown: KeyboardEvent;
};
/**
 * @internal
 */
export type UiTreeViewEventType = keyof UiTreeViewEvents;
/**
 * @internal
 */
export declare function UiTreeViewEventsProvider({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
/**
 * @internal
 */
export declare function useUiTreeViewEventPublisher<T extends UiTreeViewEventType>(eventType: T): (event: UiTreeViewEvents[T]) => void;
/**
 * @internal
 */
export declare function useUiTreeViewEventSubscriber<T extends UiTreeViewEventType>(eventType: T, handler: (event: UiTreeViewEvents[T]) => void): void;
//# sourceMappingURL=UiTreeViewEvents.d.ts.map