import { default as Graph } from 'graphology';
import { GraphEdge, GraphNode } from '../types';
interface GetVisibleIdsInput {
    collapsedIds: string[];
    nodes: GraphNode[];
    edges: GraphEdge[];
    /**
     * Optional prebuilt graphology graph of the FULL node/edge set (e.g. built
     * once by the caller and reused across collapse/expand interactions).
     * Must contain the same nodes/edges passed above. Note the store's graph
     * is NOT suitable here: it holds the post-collapse visible subgraph.
     */
    graph?: Graph;
}
interface GetExpandPathInput {
    nodeId: string;
    edges: GraphEdge[];
    visibleEdgeIds: string[];
}
/**
 * Get the visible nodes and edges given a collapsed set of ids.
 */
export declare const getVisibleEntities: ({ collapsedIds, nodes, edges, graph: providedGraph }: GetVisibleIdsInput) => {
    visibleNodes: GraphNode[];
    visibleEdges: GraphEdge[];
};
/**
 * Get the path to expand a node.
 */
export declare const getExpandPath: ({ nodeId, edges, visibleEdgeIds }: GetExpandPathInput) => string[];
export {};
