import type { TranslateFn } from "../../i18n";
import type { Profile } from "../types";
/**
 * Edit profile dialog — opens as a dark overlay ABOVE the main modal
 * (z-index matches the .ps-tryon-overlay max-int so it always stacks
 * on top). Wraps ProfileEditView so the user gets a real editable form
 * with name + gender + units + height/weight/age + Save / Cancel.
 *
 * Portaled to document.body so parent stacking contexts can't clip it.
 */
export declare function ProfileDetailModal({ profileDetail, setProfileDetail, setProfiles, activeProfileId, setActiveProfileId, t, portalContainer, }: {
    profileDetail: Profile | null;
    setProfileDetail: (p: Profile | null) => void;
    setProfiles: React.Dispatch<React.SetStateAction<Profile[]>>;
    activeProfileId: string | null;
    setActiveProfileId: (id: string | null) => void;
    t: TranslateFn;
    portalContainer?: Element | DocumentFragment;
}): import("react").ReactPortal | null;
