import { Request } from 'express';
import { AdminConsoleConfigService } from './admin-console-config.service';
import { AdminUser } from '../entities/admin-user.entity';
interface AdminSessionPayload {
    sub: string;
    email: string;
    iat: number;
    exp: number;
}
export declare class AdminSessionService {
    private readonly config;
    constructor(config: AdminConsoleConfigService);
    createSession(admin: AdminUser): string;
    verifySession(token: string): AdminSessionPayload | null;
    getCookieName(): string;
    getMaxAge(): number | undefined;
    extractToken(request: Request): string | undefined;
    invalidateSessionForAdmin(adminId: string): Promise<void>;
    private parseCookieHeader;
}
export {};
//# sourceMappingURL=admin-session.service.d.ts.map