import { Repository } from 'typeorm';
import { EventEmitter2 } from '@nestjs/event-emitter';
import { NestAuthUser } from '../../user/entities/user.entity';
import { SessionManagerService } from '../../session/services/session-manager.service';
export type LogoutType = 'user' | 'admin' | 'system';
export declare class LogoutService {
    private readonly userRepository;
    private readonly sessionManager;
    private readonly eventEmitter;
    constructor(userRepository: Repository<NestAuthUser>, sessionManager: SessionManagerService, eventEmitter: EventEmitter2);
    logout(logoutType?: LogoutType, reason?: string): Promise<boolean>;
    logoutAll(userId: string, logoutType?: LogoutType, reason?: string): Promise<boolean>;
}
//# sourceMappingURL=logout.service.d.ts.map