import { TreeNode } from '@tracktor/types-treege'; export declare const treeReducerActionType: { readonly appendTreeCard: "appendTreeCard"; readonly deleteTreeCard: "deleteTreeCard"; readonly replaceTreeCard: "replaceTreeCard"; readonly resetTree: "resetTree"; readonly setTree: "setTree"; }; export type TreeReducerAction = { type: typeof treeReducerActionType.appendTreeCard; path: string | null; uuid: string; children: TreeNode; } | { type: typeof treeReducerActionType.deleteTreeCard; path: string | ""; uuid: string; } | { type: typeof treeReducerActionType.replaceTreeCard; path: string | null; uuid: string; children: TreeNode; } | { type: typeof treeReducerActionType.resetTree; } | { type: typeof treeReducerActionType.setTree; tree: TreeNode | null; }; export declare const appendTreeCard: (path: string | null, uuid: string, children: TreeNode) => TreeReducerAction; export declare const replaceTreeCard: (path: string | null, uuid: string, children: TreeNode) => TreeReducerAction; export declare const deleteTreeCard: (path: string | "", uuid: string) => TreeReducerAction; export declare const resetTree: () => TreeReducerAction; export declare const setTree: (tree: TreeNode | null) => TreeReducerAction; declare const treeReducer: (tree: TreeNode | null, action: any) => any; export default treeReducer;