import type { NewQuery } from "./QueryBuilder"; import type { ViewHandler } from "../ViewHandler/ViewHandler"; /** * Used to prevent single row nested results in case of OR join conditions */ export declare const ROOT_TABLE_ROW_NUM_ID = "prostgles_root_table_row_id"; export declare const ROOT_TABLE_ALIAS = "prostgles_root_table_alias"; /** * Create the query from NewQuery * No validation/authorisation at this point * */ export declare function getSelectQuery(viewHandler: ViewHandler, q: NewQuery, depth: number | undefined, selectParamsGroupBy: boolean): string; type IndentLinesOpts = { numberOfSpaces?: number; indentStr?: string; appendCommas?: boolean; }; export declare const indentLines: (strArr: (string | undefined | null)[], { numberOfSpaces, indentStr, appendCommas }?: IndentLinesOpts) => string[]; export declare const getTableAliasAsName: (q: NewQuery) => string; export declare const getRootGroupBy: (q: NewQuery, selectParamsGroupBy?: boolean) => string[]; export {}; //# sourceMappingURL=getSelectQuery.d.ts.map