import type { DraggableAttributes, DraggableSyntheticListeners } from '@dnd-kit/core'; import React from 'react'; type PageTreeContextValue = { activeDragRowID: null | string; canMoveDocs: boolean; collapsedIDs: ReadonlySet; parentMoveEnabled: boolean; pendingMoveRowID: null | string; toggleRow: (rowID: string) => void; }; type PageTreeRowDndContextValue = { isOrderDragging: boolean; orderHandleAttributes: DraggableAttributes; orderHandleListeners: DraggableSyntheticListeners; orderHandleRef: (element: HTMLElement | null) => void; }; export declare function PageTreeProvider({ children, value, }: { children: React.ReactNode; value: PageTreeContextValue; }): import("react/jsx-runtime").JSX.Element; export declare function PageTreeRowDndProvider({ children, value, }: { children: React.ReactNode; value: PageTreeRowDndContextValue; }): import("react/jsx-runtime").JSX.Element; export declare function usePageTree(): PageTreeContextValue; export declare function usePageTreeRowDnd(): null | PageTreeRowDndContextValue; export {};