import type { MutableRefObject } from 'react';
import { BuilderModule } from '../../../@types/settings.js';
export interface TreeItem extends BuilderModule {
    collapsed?: boolean;
}
export type TreeItems = TreeItem[];
export interface FlattenedItem extends TreeItem {
    parentId: string | null;
    depth: number;
    index: number;
}
export type SensorContext = MutableRefObject<{
    items: FlattenedItem[];
    offset: number;
}>;
