import { ListParam } from '../service/common-types/list-param.js'; /** * @deprecated This function is recommended to be replaced with the `getQueryBuilderFromListParams` function. * * Builds a TypeORM query using the provided parameters to filter, paginate, and sort the data. * * @param {QueryBuilder} queryBuilder - The TypeORM query builder to build the query on. * @param {ListParam} params - The list parameters to apply to the query. * @param {Object} context - The context object, typically containing information about the user's domain. * @param {boolean|Object} options - Additional options for the query builder. * @param {boolean} options.domainRef - Indicates whether to include domain reference in the query. * @param {string[]} options.searchables - An array of searchable field names. */ export declare const buildQuery: (queryBuilder: any, params: ListParam, context: any, options?: boolean | { domainRef?: boolean; searchables?: string[]; }) => void;