import { UnitMetadata } from '@sankhyalabs/core';
import { ITreeItem } from '@sankhyalabs/ezui/src/components/ez-tree/interfaces/ITreeItem';
import { IGridConfig } from '@sankhyalabs/ezui/src/components/ez-grid/controller/EzGridController';
export declare function buildGridMetadata(rawValue: any): UnitMetadata;
export declare function parseLegacyTree(legacy: LegacyTree): ITreeItem[];
export interface LegacyTreeItem {
  caminho: string;
  codigo: string;
  descricao: string;
  analitico: string;
  no?: LegacyTreeItem[];
}
export interface LegacyTree {
  arvore: LegacyNode;
}
export interface LegacyNode {
  no: LegacyTreeItem[];
}
export declare function parseGridConfig(rawConfig: any): IGridConfig | undefined;
export declare enum PESQUISA_VIEW_MODE {
  GRID = 0,
  CARDS = 1,
  TREE = 2
}
