import { HeaderV1, HeaderTree } from '../types'; import { CID } from '../../ipfs'; import PublicTree from './PublicTree'; export declare class PrivateTree extends PublicTree { protected parentKey: string; protected ownKey: string; constructor(header: HeaderV1, parentKey: string, ownKey: string); static empty(parentKey: string, ownKey?: string): Promise; static fromCID(cid: CID, parentKey: string): Promise; static fromHeader(header: HeaderV1, parentKey: string): HeaderTree; static instanceOf(obj: any): obj is PrivateTree; } export default PrivateTree;