import type ParseObject from './ParseObject'; /** * Provides a local datastore which can be used to store and retrieve Parse.Object.
* To enable this functionality, call Parse.enableLocalDatastore(). * * Pin object to add to local datastore * *
await object.pin();
*
await object.pinWithName('pinName');
* * Query pinned objects * *
query.fromLocalDatastore();
*
query.fromPin();
*
query.fromPinWithName();
* *
const localObjects = await query.find();
* * @class Parse.LocalDatastore * @static */ declare const LocalDatastore: { isEnabled: boolean; isSyncing: boolean; fromPinWithName(name: string): Promise; pinWithName(name: string, value: any): Promise; unPinWithName(name: string): Promise; _getAllContents(): Promise; _getRawStorage(): Promise; _clear(): Promise; _handlePinAllWithName(name: string, objects: ParseObject[]): Promise; _handleUnPinAllWithName(name: string, objects: ParseObject[]): Promise; _getChildren(object: ParseObject): any; _traverse(object: any, encountered: any): void; _serializeObjectsFromPinName(name: string): Promise; _serializeObject(objectKey: string, localDatastore: any): Promise; _updateObjectIfPinned(object: ParseObject): Promise; _destroyObjectIfPinned(object: ParseObject): Promise; _updateLocalIdForObject(localId: string, object: ParseObject): Promise; /** * Updates Local Datastore from Server * *
     * await Parse.LocalDatastore.updateFromServer();
     * 
* * @function updateFromServer * @name Parse.LocalDatastore.updateFromServer * @static */ updateFromServer(): Promise; getKeyForObject(object: any): string; getPinName(pinName?: string): string; checkIfEnabled(): any; }; export default LocalDatastore;