import { CdmCorpusContext, CdmTraitCollection, CdmTraitDefinition, CdmTraitGroupDefinition, CdmTraitGroupReference, CdmTraitReference, ResolvedTrait } from '../internal';
export declare function addTraitRef(ctx: CdmCorpusContext, collection: CdmTraitCollection, traitDefOrRef: CdmTraitReference | CdmTraitDefinition | CdmTraitGroupReference | CdmTraitGroupDefinition | string, implicitRef: boolean): CdmTraitReference;
export declare function fetchTraitRefName(traitRefOrDef: CdmTraitReference | CdmTraitDefinition | CdmTraitGroupReference | CdmTraitGroupDefinition | string | ResolvedTrait): string;
export declare function fetchTraitReferenceIndex(collection: CdmTraitCollection, traitDef: CdmTraitReference | CdmTraitDefinition | CdmTraitGroupReference | CdmTraitGroupDefinition | string, onlyFromProperty?: boolean): number;
export declare function removeTraitRef(collection: CdmTraitCollection, traitDef: CdmTraitReference | CdmTraitDefinition | CdmTraitGroupReference | CdmTraitGroupDefinition | string, onlyFromProperty?: boolean): void;
