import { SqliteConnection } from "./connection.js"; import { AuthTokenRecord, AuthTokenStore } from "@graphorin/core/contracts"; //#region src/auth-token-store.d.ts /** * Default `AuthTokenStore` implementation. Persists HMAC-SHA256 hashes * of issued server tokens (DEC-122 / ADR-027). Raw tokens are never * persisted - the runtime carries them via `SecretValue`. * * @stable */ declare class SqliteAuthTokenStore implements AuthTokenStore { #private; constructor(conn: SqliteConnection); put(record: AuthTokenRecord): Promise; get(id: string): Promise; getByHash(hashHex: string): Promise; list(): Promise>; revoke(id: string, revokedAt: string): Promise; recordUse(id: string, usedAt: string): Promise; } //#endregion export { SqliteAuthTokenStore }; //# sourceMappingURL=auth-token-store.d.ts.map