import { type PathBranch, type PathLeaf, type PathProvidedItem } from "@1771technologies/lytenyte-shared";
export declare function useFlattenedTree<T extends PathProvidedItem>(paths: T[], expansions: Record<string, boolean>, expansionDefault: boolean, nonAdjacentPathTrees?: boolean): {
    flat: (PathBranch<T> | PathLeaf<T>)[];
    nodeToIndex: Map<PathBranch<T> | PathLeaf<T>, number>;
    indexToId: Map<number, string>;
    allIds: Set<string>;
    idToNode: Map<string, PathBranch<T> | PathLeaf<T>>;
    root: import("@1771technologies/lytenyte-shared").PathRoot<T>;
};
