export declare class AccessTracker { private static conceptsData; private static connectionsData; private static readonly SYNC_INTERVAL_MS; private static nextSyncTime; static activateStatus: boolean; private static readonly accessData; private static autoSyncInterval; /** * Increments the count for a specific conceptId. */ static incrementConcept(conceptId: number): void; /** * Increments the count for a specific connectionId. */ static incrementConnection(connectionId: number): void; /** * Retrieves the top N concepts by their counts. */ static getTopConcepts(n: number): [number, number][]; /** * Retrieves the top N connections by their counts. */ static getTopConnections(n: number): [number, number][]; /** * Saves the concept and connection data to localStorage. */ static saveDataToLocalStorage(): void; /** * Loads the concept and connection data from localStorage. */ static loadDataFromLocalStorage(): void; static sendToServer(): Promise; /** * Syncs the concept and connection data with the server. */ private static syncToServer; /** * Sets the next sync time based on the current time and sync interval. */ private static setNextSyncTime; /** * Starts auto-syncing to the server every specified time interval. * This will automatically call `syncToServer` every 5 minutes */ static startAutoSync(): void; /** * Stops the access tracker auto-sync timer. */ static stopAutoSync(): void; /** * Sync immediately called by setInterval when time to sync has arrived. */ private static syncNow; /** * Fetch suggested concepts from the server with proper error handling. */ static GetSuggestedConcepts(top?: number): Promise; /** * Fetch suggested connections from the server with proper error handling. * @param top number of connections to get load */ static GetSuggestedConnections(top?: number): Promise; /** * Add Concepts to Binary Tree */ private static addConceptToBinaryTree; /** * Add Concepts to Binary Tree */ private static addConnectionToBinaryTree; }