import { Commit } from '../types'; declare type BasicGraphItem = { graph: string; step: string; value: any; }; export declare function getBasicGraph(commits: Iterable>, getEditLabel: (commit: Commit) => string, getValue: (commit: Commit) => any): BasicGraphItem[]; /** * This function accepts a list of commits and creates a graphviz DOT digraph. * It uses getEditLabel to label the edges of the graph and getValue to label the nodes. * It uses getUserId to map a commit to its creator and color the nodes based on the creator. * It will use isMain to highlight commits that are on the mainline. * * Chains of nodes created by the same user are grouped together. */ export declare function getDotGraph(commits: Iterable>, getEditLabel: (commit: Commit) => string, getValue: (commit: Commit) => string, getUserId: (commit: Commit) => string, isMain: (commit: Commit) => boolean): string; export {};