import { Ocean } from '../ocean/Ocean'; import { Authentication } from './Authentication'; import { Proof } from './Proof'; import { PublicKey } from './PublicKey'; import { Service, ServiceType } from './Service'; export declare class DDO { static serialize(ddo: DDO): string; static deserialize(ddoString: string): DDO; '@context': string; id: string; created: string; updated: string; publicKey: PublicKey[]; authentication: Authentication[]; service: Service[]; proof: Proof; constructor(ddo?: Partial); shortId(): string; findServiceById(index: number): Service; findServiceByType(serviceType: T): Service; getChecksum(): string; generateProof(ocean: Ocean, publicKey: string, password?: string): Promise; addProof(ocean: Ocean, publicKey: string, password?: string): Promise; }