/** * DTO for removing a single MFA device by ID * * Used to remove one enrolled MFA device for the current authenticated user. * This is important when users can register multiple devices per method * (e.g., multiple TOTP authenticators and multiple passkeys). * * @example * ```typescript * const result = await mfaService.removeDevice({ deviceId: 123 }); * // { removedDeviceId: 123, removedMethod: 'passkey', mfaDisabled: false } * ``` */ import { MFADeviceMethod } from '../enums/mfa-method.enum'; /** * DTO for removing a single MFA device */ export declare class RemoveDeviceDTO { /** * MFA device ID to remove * * Validation: * - Must be a positive integer * * Sanitization: * - Strings are converted to numbers (useful for path params) * * @example 123 */ deviceId: number; } /** * Response DTO for removing a single MFA device */ export declare class RemoveDeviceResponseDTO { /** * ID of the removed device */ removedDeviceId: number; /** * MFA method type of the removed device */ removedMethod: MFADeviceMethod; /** * Whether MFA was disabled (when this was the last remaining device) */ mfaDisabled: boolean; } //# sourceMappingURL=remove-device.dto.d.ts.map