import { SessionInterface } from '../types'; import { SessionStorage } from '../session_storage'; export interface MySQLSessionStorageOptions { sessionTableName: string; } export declare class MySQLSessionStorage implements SessionStorage { private dbUrl; static withCredentials(host: string, dbName: string, username: string, password: string, opts: Partial): MySQLSessionStorage; readonly ready: Promise; private options; private connection; 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 hasSessionTable; private createTable; private query; } //# sourceMappingURL=mysql.d.ts.map