/** * pop org update-metadata — update org name/metadata (DESTRUCTIVE). * * Gate — VERIFIED against contracts origin/main src/OrgRegistry.sol: * updateOrgMetaAsAdmin(orgId, newName, newMetadataHash) requires the caller * to wear the org's metadata-admin hat (metadataAdminHatOf[orgId], falling * back to the topHat when unset — revert NotOrgMetadataAdmin otherwise). * Change the admin hat itself with: pop org set-metadata-admin. * * The write is a full overwrite of name + metadata hash, so the current * metadata is fetched first and only the passed flags are merged over it. * Destructive confirmation: this rewrites the org's public identity; * non-TTY sessions must pass --yes explicitly. */ import type { Argv, ArgumentsCamelCase } from 'yargs'; interface UpdateMetadataArgs { org: string; name?: string; description?: string; logo?: string; links?: string; 'background-color'?: string; 'hide-treasury'?: boolean; chain?: number; rpc?: string; 'private-key'?: string; 'dry-run'?: boolean; yes?: boolean; preflight?: boolean; } export declare const updateMetadataHandler: { builder: (yargs: Argv) => Argv<{ name: string | undefined; } & { description: string | undefined; } & { logo: string | undefined; } & { links: string | undefined; } & { "background-color": string | undefined; } & { "hide-treasury": boolean | undefined; }>; handler: (argv: ArgumentsCamelCase) => Promise; }; export {};