import React from "react"; import { type SecurityTabProps } from "./SecurityTab"; type Tab = "profile" | "security"; export interface ProfileDialogProps { visible: boolean; onClose: () => void; initialTab?: Tab; /** Wired to `SecurityTab`'s MFA-enrolment callback. */ onEnableMfa: () => void; /** * Optional client-side key-rewrap hook for password changes. Vault * supplies `KeyManager.computeReWrap`; apps without a wrapped key * omit it. */ onComputeReWrap?: SecurityTabProps["onComputeReWrap"]; } /** * Account-management dialog with Profile / Security tabs. The avatar * strip across the top pulls from the entropy-ui `UserAvatar` (which * reads `useAuth().user`). Apps inject their MFA enrolment route via * `onEnableMfa` and (optionally) a key-rewrap hook for password change. */ export declare function ProfileDialog({ visible, onClose, initialTab, onEnableMfa, onComputeReWrap, }: ProfileDialogProps): React.JSX.Element; export {}; //# sourceMappingURL=ProfileDialog.d.ts.map