import { QueryDetails, TableInfo } from './types'; /** * Recuresive function which takes a relationNode and returns a TableInfo array * that defines the relation properties considering sub-relations. * * @param {any} relationNode * * @returns {TableInfo[]} TableInfo array */ export declare const getTableInfoFromRelationNode: (relationNode: any) => TableInfo[]; /** * Recuresive function which takes a querySpecificationNode and returns a QueryDetails * that defines all the query properties considering tables and columns. * * @param {any} querySpecificationNode * * @returns {QueryDetails} query properties */ export declare const getQueryDetailsFromQuerySpecificationNode: (querySpecificationNode: any) => QueryDetails; /** * Takes QueryDetails and aggregates it into a given TableInfo. * * @param {QueryDetails} queryDetails * @param {TableInfo} tableInfo * * @return {void} */ export declare const aggregateQueryDetailsAndTableInfo: (queryDetails: QueryDetails, tableInfo: TableInfo) => void; /** * Takes any Antlr4 tree node and advances it to the next QuerySpecificationNode down the tree. * * @param {any} currentNode * * @return {any} querySpecificationNode */ export declare const getNextQuerySpecificationNode: (currentNode: any) => any;