import { PerlDBI_Client } from "perl-dbi"; import { LLNG_Session, Session_Accessor } from "@lemonldap-ng/types"; export type SessionDBI_Args = { DataSource: string; UserName: string | undefined; Password: string | undefined; TableName: string | undefined; Commit: number | undefined; Index: string | undefined; }; declare abstract class DBISession implements Session_Accessor { db: PerlDBI_Client; table: string; constructor(config: SessionDBI_Args); get(id: string): Promise; update(data: LLNG_Session): Promise; } export default DBISession;