import { NestAuthSession } from '../entities/session.entity';
export declare class SessionUtil {
    static extractMetadata(session: NestAuthSession): {
        device: string;
        ip: string;
        location?: string;
        browser?: string;
        os?: string;
    };
    static getRemainingTime(session: NestAuthSession): {
        milliseconds: number;
        seconds: number;
        minutes: number;
        hours: number;
        formatted: string;
    };
    static isExpiringSoon(session: NestAuthSession, thresholdMs?: number): boolean;
    static isExpired(session: NestAuthSession): boolean;
    static isActive(session: NestAuthSession): boolean;
    static formatForDisplay(session: NestAuthSession): {
        id: string;
        device: string;
        ipAddress: string;
        lastActive: string;
        expiresAt: string;
        isActive: boolean;
        isCurrent?: boolean;
    };
    static sanitize(session: NestAuthSession): Partial<NestAuthSession>;
    static isSameDevice(session1: NestAuthSession, session2: NestAuthSession): boolean;
    static getAge(session: NestAuthSession): {
        milliseconds: number;
        formatted: string;
    };
    static getIdleTime(session: NestAuthSession): {
        milliseconds: number;
        formatted: string;
    };
}
//# sourceMappingURL=session.util.d.ts.map