import { AnyParamConstructor } from '@typegoose/typegoose/lib/types'; import { PipelineStage } from 'mongoose'; import { ExoAggrSuper } from '../../ExoAggrSuper'; type MetaKey = 'searchScore' | 'searchScoreDetails' | 'searchHighlights' | 'textScore' | 'indexKey' | 'searchKeywords'; export declare class ASProjection> { $aggr: ExoAggrSuper; private $rules; private $metas; private $prefields; private fields; constructor($aggr: ExoAggrSuper, $prefield: string | null); protected setupBaseFields(basefields: string[]): void; inclusion(...keys: string[]): this; exclusion(...keys: string[]): this; meta($meta: MetaKey, path: string): this; private setRule; private parseKeys; private parseSubFields; private pushSubFields; protected get project(): PipelineStage | void; protected cloneProjection(stage: ASProjection): void; } export {};