import { DocumentConventions } from "../Conventions/DocumentConventions"; export declare class GenerateEntityIdOnTheClient { private _conventions; private _generateId; constructor(conventions: DocumentConventions, generateId: (obj: object) => Promise); private _getIdentityProperty; tryGetIdFromInstance(entity: object, idCallback?: (id: string) => void): boolean; getOrGenerateDocumentId(entity: object): Promise; generateDocumentKeyForStorage(entity: object): Promise; trySetIdentity(entity: object, id: string, isProjection?: boolean): void; }