import { DocumentConventions } from "../Conventions/DocumentConventions.js"; export declare class GenerateEntityIdOnTheClient { private _conventions; private _generateId; constructor(conventions: DocumentConventions, generateId: (obj: object) => Promise); private _getIdentityProperty; /** * Attempts to get the document key from an instance */ tryGetIdFromInstance(entity: object, idCallback?: (id: string) => void): boolean; getOrGenerateDocumentId(entity: object): Promise; generateDocumentKeyForStorage(entity: object): Promise; /** * Tries to set the identity property */ trySetIdentity(entity: object, id: string, isProjection?: boolean): void; } //# sourceMappingURL=GenerateEntityIdOnTheClient.d.ts.map