import { S as SessionAddresses } from '../auth-CA_YKtM2.js'; import '@parity/product-sdk-terminal'; import 'polkadot-api'; import '../allocations-CEPeZr6T.js'; /** * whoami — show the currently logged-in session account, or "not logged in". * Pure formatter `formatWhoami` is unit-tested; `runWhoami` is the live async path. */ /** * Format session address info for display. Pass `null` when no session exists. * Pure function — unit-testable without any SSO stack. */ declare function formatWhoami(addresses: SessionAddresses | null): string; /** * Run the whoami command. Gets the session signer (if any) and prints the * formatted output. Never throws — "no session" prints the not-logged-in message. */ declare function runWhoami(envId: string): Promise; export { formatWhoami, runWhoami };