import type { FlattenedItem, TreeItem, TreeItems } from './types';
export declare const iOS: boolean;
export declare function getProjection(items: FlattenedItem[], activeId: string, overId: string, dragOffset: number, indentationWidth: number): {
    depth: number;
    maxDepth: number;
    minDepth: number;
    parentId: string | null;
};
export declare function flattenTree(items: TreeItems): FlattenedItem[];
export declare function buildTree(flattenedItems: FlattenedItem[]): TreeItems;
export declare function findItem(items: TreeItem[], itemId: string): TreeItem | undefined;
export declare function findItemDeep(items: TreeItems, itemId: string): TreeItem | undefined;
export declare function removeItem(items: TreeItems, id: string): TreeItem[];
export declare function setProperty<T extends keyof TreeItem>(items: TreeItems, id: string, property: T, setter: (value: TreeItem[T]) => TreeItem[T]): TreeItem[];
export declare function getChildCount(items: TreeItems, id: string): number;
export declare function removeChildrenOf(items: FlattenedItem[], ids: string[]): FlattenedItem[];
