export interface SessionGetOptions { backend?: string; refreshTokens?: boolean; persistent?: boolean; hash?: boolean; } export interface SessionDeleteOptions extends SessionGetOptions { where?: Record; } export interface SessionFilter { where?: Record; select?: string[]; backend?: string; count?: boolean; refreshTokens?: boolean; persistent?: boolean; hash?: boolean; idOnly?: boolean; } export interface ConfigInfo { cfgNum: number; cfgAuthor: string; cfgDate: string; cfgLog?: string; } export interface ILlngTransport { configInfo(): Promise; configGet(keys: string[]): Promise>; configSet(pairs: Record, log?: string): Promise; configAddKey(key: string, subkey: string, value: string): Promise; configDelKey(key: string, subkey: string): Promise; configSave(): Promise; configRestore(json: string): Promise; configMerge(json: string): Promise; configRollback(): Promise; configUpdateCache(): Promise; configTestEmail(destination: string): Promise; sessionGet(id: string, options?: SessionGetOptions): Promise>; sessionSearch(filters: SessionFilter): Promise; sessionDelete(ids: string[], options?: SessionDeleteOptions): Promise; sessionSetKey(id: string, pairs: Record, options?: SessionGetOptions): Promise; sessionDelKey(id: string, keys: string[], options?: SessionGetOptions): Promise; sessionBackup(backend?: string, refreshTokens?: boolean, persistent?: boolean): Promise; secondFactorsGet(user: string): Promise; secondFactorsDelete(user: string, ids: string[]): Promise; secondFactorsDelType(user: string, type: string): Promise; consentsGet(user: string): Promise; consentsDelete(user: string, ids: string[]): Promise; execScript(scriptName: string, args: string[]): Promise; }