import { SessionInterface } from '../types'; import { SessionStorage } from '../session_storage'; export interface PostgreSQLSessionStorageOptions { sessionTableName: string; port: number; } export declare class PostgreSQLSessionStorage implements SessionStorage { private dbUrl; static withCredentials(host: string, dbName: string, username: string, password: string, opts: Partial): PostgreSQLSessionStorage; readonly ready: Promise; private options; private client; constructor(dbUrl: URL, opts?: Partial); storeSession(session: SessionInterface): Promise; loadSession(id: string): Promise; deleteSession(id: string): Promise; deleteSessions(ids: string[]): Promise; findSessionsByShop(shop: string): Promise; disconnect(): Promise; private init; private connectClient; private hasSessionTable; private createTable; private query; } //# sourceMappingURL=postgresql.d.ts.map