export type FlattenFieldOption = { /** 写入 columns.dataIndex 的值,如 report.equipmentName */ key: string; /** 下拉展示 */ label: string; group?: 'root' | 'nested' | 'array'; valueType?: 'string' | 'number' | 'boolean' | 'object' | 'array' | 'null' | 'unknown'; }; export type FlattenObjectPathsOptions = { maxDepth?: number; skipKeys?: Set; arraySampleStrategy?: 'first'; }; /** * 从样例行递归展开叶子字段路径,供设计器 AndTable dataIndex 下拉使用。 * 扁平行仅产出根级 key,与旧 Object.keys 结果集合一致。 */ export declare function flattenObjectPaths(sampleRow: Record, options?: FlattenObjectPathsOptions): FlattenFieldOption[]; //# sourceMappingURL=flattenObjectPaths.d.ts.map