import { TreeFlatListItem } from "@frontify/fondue/dist/components/Tree/Tree";
import { DraggableItem } from "@frontify/fondue/dist/utilities/dnd";
import { Token } from "@frontify/frontify-authenticator";
import { SubfolderItem } from "../../model/Tree";
interface CreateTreeNodeProps {
    node: SubfolderItem;
    parent: SubfolderItem;
}
export declare const createTreeNode: ({ node, parent }: CreateTreeNodeProps) => DraggableItem<TreeFlatListItem>;
export declare const updateTreeNodes: (parent: SubfolderItem, addToTree: (item: DraggableItem<TreeFlatListItem>[]) => void, tree?: DraggableItem<TreeFlatListItem>[], token?: Token) => Promise<void>;
export {};
//# sourceMappingURL=Tree.d.ts.map