import type { AuthenticatedUserDTO } from '../dto/AuthenticatedUserDTO'; import type { AuthSessionDTO } from '../dto/AuthSessionDTO'; export interface IdentitySessionPort { getCurrentSession(): Promise; createSession(user: AuthenticatedUserDTO): Promise; clearSession(): Promise; }