import { type DagItem } from './build.js'; import type { Supergroup } from '../collection.js'; export interface DagRecordOpts { records?: R[]; recordKey?: (r: R) => string | string[] | null | undefined; } export declare function fromParentIds(items: DagItem[], opts?: DagRecordOpts): Supergroup; export declare function fromEdges(edges: [string, string][], nodes?: { id: string; name?: string; }[], opts?: DagRecordOpts): Supergroup; export declare function fromParentChild(rows: Row[], opts: { parent: string | ((row: Row) => unknown); child: string | ((row: Row) => unknown); label?: string | ((row: Row) => string); }, recordOpts?: DagRecordOpts): Supergroup;