/** * SQLite-backed encrypted token store for the MCP server integration. * * All token data is serialised to JSON, encrypted with AES-256-GCM, then * written to the `tokens` table as a BLOB. The Encryptor interface decouples * the encryption algorithm from the store so tests can inject deterministic * doubles without touching real crypto. * * Wire format for the `data` column: * nonce (12 bytes) || ciphertext (N bytes) || auth tag (16 bytes) */ import type { TokenStore, StoredToken, Encryptor } from './types.js'; export declare class SqliteTokenStore implements TokenStore { private readonly db; private readonly encryptor; private constructor(); static create(dbPath: string, encryptor: Encryptor): SqliteTokenStore; get(service: string): StoredToken | null; upsert(service: string, token: StoredToken): void; delete(service: string): void; list(): Array<{ service: string; updatedAt: string; }>; close(): void; } //# sourceMappingURL=sqlite.d.ts.map