import { SessionState, SessionStore } from '@foal/core'; import { BaseEntity } from 'typeorm'; export declare class DatabaseSession extends BaseEntity { id: string; user_id: number | null; user_id_str: string | null; content: string; flash: string; updated_at: number; created_at: number; } /** * TypeORM store. * * @export * @class TypeORMStore * @extends {SessionStore} */ export declare class TypeORMStore extends SessionStore { private get repository(); save(state: SessionState, maxInactivity: number): Promise; read(id: string): Promise; update(state: SessionState, maxInactivity: number): Promise; destroy(sessionID: string): Promise; clear(): Promise; cleanUpExpiredSessions(maxInactivity: number, maxLifeTime: number): Promise; getAuthenticatedUserIds(): Promise<(number | string)[]>; destroyAllSessionsOf(userId: number | string): Promise; getSessionIDsOf(userId: number | string): Promise; }