import type { StoryTree, StoryTreeItem } from "../../../shared/types";
export declare const walkTree: (_tree: StoryTree, levels: string[], fn: (item: StoryTreeItem) => void, leafOnly: boolean) => void;
export declare const getLastLeafId: (node: StoryTreeItem) => string;
export declare const getParentId: (nodes: StoryTree, nodeId: string, parentId: string | null) => string | null;
export declare const getPrevId: (nodes: StoryTree, nodeId: string, parentId: string | null) => string | null;
export declare const getFirstChildId: (nodes: StoryTree, nodeId: string) => string | null;
export declare const getNextId: (nodes: StoryTree, nodeId: string, closestOmmer: string | null) => string | null;
export declare const getEndId: (nodes: StoryTree) => string;
export declare const toggleIsExpanded: (arr: StoryTree, toggledNode: StoryTreeItem) => StoryTree;
