/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ /** * Self-service account container. * * Same drawer pattern as `admin-users/ui/container.tsx` but * narrower: only Profile and Password sections (no Roles, no * Delete) — those are admin-only actions on someone else, not * self-service. Each card surfaces the read-only summary plus an * "Edit" affordance that opens the matching drawer. * * Forms lift the fresh `AccountResponse` back into local state on * success so the container's bumped `vid` is in hand for any * subsequent edit without a refetch. * * Stable override handles: see `container.module.css`. */ import type React from 'react'; import type { AccountResponse } from '../index.js'; interface AccountSelfContainerProps { account: AccountResponse; } export declare function AccountSelfContainer({ account }: AccountSelfContainerProps): React.JSX.Element; export {};