import type { SGNode } from '../node.js'; import { Supergroup } from '../collection.js'; export interface PrettyPrintOpts { /** levels shown; omitted = all */ maxDepth?: number; /** children listed per node; omitted = all */ maxChildren?: number; /** per-node line; default: label + record count + cmp when present */ fmt?: (n: SGNode) => string; /** box-drawing rails instead of plain two-space indentation */ rails?: boolean; } type Printable = Supergroup | SGNode | SGNode[]; export declare function prettyPrint(x: Printable, opts?: PrettyPrintOpts): string; export declare function summary(x: Printable): string; export interface ToTableOpts { /** rows shown; omitted = all */ maxRows?: number; /** column selection + order; default: keys of the first record */ columns?: string[]; } export declare function toTable(records: readonly object[], opts?: ToTableOpts): string; export {};