import * as Models from '../models/models';
import mongoose = require('mongoose');
export default class MongooseQueries {
    models: Models.MongooseModels;
    constructor(models: Models.MongooseModels);
    /**
     * Get all the elements from mongodb database with features stored in another document
     *
     * @param {searchValue} value that is going to be searched in the name of the report.
     * if the value of the search is feature:some_text, then the database is going filtered by the reports with features with name, some_text
     * if the value of the search is scenario:some_text, then the database is going filtered by the reports with scenarios with name some_text
     * if the value of the search is step:some_text, then the database is going filtered by the reports with steps with name some_text
     * @private
     */
    getAllTheElementsOrderedAndFiltered(orderValue: string, orderDirection: number, filterValue: string): Promise<Models.ExtendedReport[]>;
    /**
     * Get one element from mongodb database by id
     *
     * @param {object} options JSON object with the options
     * @private
     */
    getReportById(id: string | mongoose.Types.ObjectId): Promise<Models.ExtendedReport>;
    private removeFieldsFromStep;
}
//# sourceMappingURL=mongoose-queries.d.ts.map