import { CdmCorpusContext, CdmDocumentDefinition, CdmManifestDefinition, CdmTraitDefinition, copyOptions, resolveOptions } from '../../internal';
import { LocalEntity } from './types';
export declare class DocumentPersistence {
    private static TAG;
    static fromData(ctx: CdmCorpusContext, dataObj: LocalEntity, extensionTraitDefList: CdmTraitDefinition[], localExtensionTraitDefList: CdmTraitDefinition[]): Promise<CdmDocumentDefinition>;
    static toData(documentObjectOrPath: CdmDocumentDefinition | string, manifest: CdmManifestDefinition, resOpt: resolveOptions, options: copyOptions, ctx: CdmCorpusContext): Promise<LocalEntity>;
}
