import type { QueryBuilder } from '@atlex/orm'; import type { SessionStore } from '../../contracts/SessionStore.js'; /** * Database-backed session store using a `sessions` table. */ export declare class DatabaseStore implements SessionStore { private readonly query; private readonly table; /** * @param query - Factory that returns a fresh {@link QueryBuilder}. * @param table - Sessions table name. */ constructor(query: () => QueryBuilder, table: string); /** * @inheritdoc */ open(_savePath: string, _sessionName: string): Promise; /** * @inheritdoc */ close(): Promise; /** * @inheritdoc */ read(sessionId: string): Promise; /** * @inheritdoc */ write(sessionId: string, data: string): Promise; /** * @inheritdoc */ destroy(sessionId: string): Promise; /** * @inheritdoc */ gc(maxLifetime: number): Promise; } //# sourceMappingURL=DatabaseStore.d.ts.map