import React from "react"; export interface AccountSectionProps { /** Fires when the user closes the surrounding settings surface (dialog). */ onClose: () => void; /** * Open the in-app profile dialog/screen. Apps wire this to whatever * UI shell they use for profile editing. The `tab` argument signals * which sub-tab to land on (`"profile"` for personal info, `"security"` * for master-password change). */ onOpenProfile?: (tab?: "profile" | "security") => void; /** * Override the Server Configuration row. Default behavior navigates * to `routes.serverConfig` from `AppConfig`. Pass `null` to hide the * row entirely (apps with no self-hosted concept). */ onOpenServerConfig?: (() => void) | null; } /** * Generic ACCOUNT section used inside the settings dialog. Rows: * • Profile (delegates to `onOpenProfile?.("profile")`) * • Master Password (delegates to `onOpenProfile?.("security")`) * • Server Configuration (default navigates to `routes.serverConfig`) */ export declare function AccountSection({ onClose, onOpenProfile, onOpenServerConfig, }: AccountSectionProps): React.JSX.Element; //# sourceMappingURL=AccountSection.d.ts.map