import * as parser from 'pgsql-ast-parser'; import { IMutField, IRow, ISemanticType } from '../interfaces'; export declare function parseSQLExpr(sql: string): parser.Expr; export declare const reservedKeywords: Set; export declare const sqlFunctions: Set; export declare const aggFuncs: Set; export declare function getSQLItemAnalyticType(item: parser.Expr, fields: IMutField[]): [ISemanticType, boolean]; export declare function walkFid(sql: string): string[]; export declare function replaceFid(sql: string, fields: IMutField[]): string; export declare function expr(sql: string, datas: IRow[] | Record): string | number | boolean | (string | number | boolean | null)[] | null;