import React from "react"; export interface SecurityTabProps { /** Whether the surrounding dialog is currently open — drives state reset. */ visible: boolean; /** Close the surrounding dialog (consumed when navigating to MFA setup). */ onClose: () => void; /** * Fired when the user taps "Enable MFA" — apps wire this to whatever * screen they use for TOTP enrollment (vault routes to its mfa-setup * tab; bootstrap could route somewhere else). */ onEnableMfa: () => void; /** * Optional hook invoked before the password change is submitted to the * server. Apps that re-wrap a client-side encryption key on rotation * (vault) wire it here; the returned payload is forwarded to * `AuthService.changePassword` so the server can apply both changes * atomically. Apps without a wrapped key pass nothing — the password * change happens unmodified. */ onComputeReWrap?: (currentPassword: string, newPassword: string) => Promise<{ symmetric_key_enc: string; kdf: string; kdf_salt: string; kdf_iterations: number; kdf_memory_kib?: number; kdf_lanes?: number; } | undefined>; } /** * "Security" tab body: change master password (with optional client-side * key re-wrap) and toggle MFA. The MFA-enrolment route is consumer- * specific — pass it via `onEnableMfa`. */ export declare function SecurityTab({ visible, onClose, onEnableMfa, onComputeReWrap }: SecurityTabProps): React.JSX.Element; //# sourceMappingURL=SecurityTab.d.ts.map