import { SelectColumn, Row } from '../synapseTypes';
export declare type KeyValue = {
    [index: string]: string;
};
export declare type SQLOperator = 'LIKE' | '=' | 'HAS';
export declare const isGroupByInSql: (sql: string) => boolean;
export declare const getWhereInsertIndex: (tokens: string[][]) => number;
export declare const insertConditionsFromSearchParams: (sql: string, searchParams?: KeyValue | undefined, operator?: SQLOperator) => string;
export declare const formatSQLFromParser: (tokens: string[][]) => string;
export declare const parseEntityIdFromSqlStatement: (sql: string) => string;
export declare const resultToJson: <T>(headerColumns: SelectColumn[], rowColumns: Row[]) => T[];
