import type { ValueNode } from '@/api/changelog'; export interface ValueTreeLine { depth: number; label?: string; text?: string; bookkeeping: boolean; } /** * Flattens one ValueNode tree; i18n-key labels are translated via `t`, literals * pass through. `resolveName` fills in a display name for id-valued leaves the * server couldn't resolve — ids referencing entities outside the explained * value (kit's document walk only sees the value itself). */ export declare function flattenValueTree(node: ValueNode, t: (key: string) => string, depth?: number, resolveName?: (id: string) => string | undefined): ValueTreeLine[];