import { IFeature, IPagination } from '@metad/contracts'; import { Repository } from 'typeorm'; import { CrudService } from '../core/crud/crud.service'; import { Feature } from './feature.entity'; export declare class FeatureService extends CrudService { readonly featureRepository: Repository; constructor(featureRepository: Repository); /** * Retrieves top-level features (those with no parent) from the database. Allows specifying related entities * to be included in the result. Features are ordered by their creation time in ascending order. * * @param relations An array of strings indicating which related entities to include in the result. * @returns A promise resolving to a paginated response containing top-level IFeature objects. */ getParentFeatures(relations?: string[]): Promise>; seedDB(): Promise; }