import type { ICacheStats, IUpsertAgent } from './sqlite-store.js'; import type { ISyncManagerConfig, ISyncProgress, ISyncOptions } from './sync-manager.js'; import type { IDataSource } from './data-source.js'; import type { IAgentSummary, ISearchParams, ISearchResult } from '../interfaces/agent.js'; export interface IAgentCacheConfig { dbPath?: string; sync?: ISyncManagerConfig; autoSync?: boolean; } export declare class AgentCache { private readonly store; private readonly syncManager; private readonly autoSync; constructor(config?: IAgentCacheConfig); start(): void; stop(): void; registerDataSource(dataSource: IDataSource): void; unregisterDataSource(sourceId: string): void; search(query: string, options?: { chainPrefix?: string; limit?: number; offset?: number; }): ISearchResult; searchAgents(params: ISearchParams): ISearchResult; getAgent(globalId: string): IAgentSummary | null; upsertAgent(agent: IUpsertAgent): void; upsertAgentsBatch(agents: IUpsertAgent[]): void; deleteAgent(globalId: string): boolean; refresh(options?: ISyncOptions & { sourceId?: string; }): Promise>; getSyncProgress(sourceId?: string): ISyncProgress | Map; getStats(): ICacheStats; optimize(): void; } //# sourceMappingURL=agent-cache.d.ts.map