import PQueue from 'p-queue'; import { CacheResult, DidCache, DidDocument } from '@atproto/identity'; import { DidCacheDb } from './db'; export declare class DidSqliteCache implements DidCache { staleTTL: number; maxTTL: number; db: DidCacheDb; pQueue: PQueue | null; constructor(dbLocation: string, staleTTL: number, maxTTL: number, disableWalAutoCheckpoint?: boolean); cacheDid(did: string, doc: DidDocument, prevResult?: CacheResult): Promise; refreshCache(did: string, getDoc: () => Promise, prevResult?: CacheResult): Promise; checkCache(did: string): Promise; checkCacheInternal(did: string): Promise; clearEntry(did: string): Promise; clear(): Promise; processAll(): Promise; migrateOrThrow(): Promise; destroy(): Promise; } //# sourceMappingURL=index.d.ts.map