import { Cell, PropertyInput, Schema, StructuralProperty, StructuralTable, Table } from './interfaces/property'; /** * Aplana un árbol clave/valor devolviendo un objeto ruta/valor * * @export * @param {*} tree * @param {string} [path=''] * @return {*} {{ [key: string]: string }} */ export declare function flatKeyValueTree(tree: any, path?: string): { [key: string]: string; }; export declare function findTableColumn(tableProperty: Table, needle: StructuralProperty | PropertyInput): any; export declare function findStructuralTableCell(tableProperty: StructuralTable, needle: StructuralProperty | PropertyInput): Cell; /** * Aplana un árbol clave/valor devolviendo un objeto ruta/valor * * @export * @param {*} tree * @param {string} [path=''] * @return {*} {{ [key: string]: string }} */ export declare function extractFieldPaths(property: StructuralProperty | Schema, path?: string, withStructuralProperties?: boolean): any[]; /** * Extrae las propiedades de una tabla estructural * * @export * @param {StructuralTable} tableProperty * @return {*} */ export declare function extractPropertiesFromStructuralTable(tableProperty: StructuralTable): any[]; /** * Obtiene el padre directo de la propiedad pasada por parámetro * * @export * @param {*} property * @param {(StructuralProperty | PropertyInput)} needle * @return {*} */ export declare function findContainer(property: any, needle: StructuralProperty | PropertyInput): any; export declare function findParentStructuralProperty(property: any, needle: StructuralProperty | PropertyInput): StructuralProperty;