import { CdmCorpusContext, CdmEntityDefinition, CdmTraitDefinition, copyOptions, resolveOptions } from '../../internal';
import { LocalEntity } from './types';
export declare class EntityPersistence {
    private static TAG;
    static fromData(ctx: CdmCorpusContext, object: LocalEntity, extensionTraitDefList: CdmTraitDefinition[], localExtensionTraitDefList: CdmTraitDefinition[]): Promise<CdmEntityDefinition>;
    static toData(instance: CdmEntityDefinition, resOpt: resolveOptions, options: copyOptions, ctx: CdmCorpusContext): Promise<LocalEntity>;
}
