import { AbstractBusinessObject, IBusinessObject } from '@heduapp/book-objects/business-object'; import { ContentGroup, ContentLeaf } from '../db/model'; import { ChainID, UUID } from './db-codec'; export declare function isContentGroupDeleted(contentGroup: ContentGroup): boolean; export declare function isContentLeafDeleted(contentLeaf: ContentLeaf): boolean; export declare function decodeContentGroup(contentGroup: ContentGroup): AbstractBusinessObject; export declare function decodeContentLeaf(businessObject: IBusinessObject, chainId?: string): AbstractBusinessObject; export declare function shouldDecodeContentGroup(uuid: UUID): Promise; export declare function shouldDecodeContentLeaf(chainID: ChainID): Promise;