import type { Argv } from 'yargs'; import { AuthorityMethod } from '@poa-box/core/tx/authority'; export interface AuthorityActionSpec { method: AuthorityMethod; args: (a: any) => unknown[]; governance?: boolean; allowGovernance?: boolean; destructive?: boolean; options: Record; } /** All governance-only verbs are executable proposals; delegates have distinct explicit verbs. */ export declare function authorityHandler(spec: AuthorityActionSpec): { builder: (y: Argv) => Argv & import("yargs").InferredOptionTypes>>; handler: (argv: any) => Promise; }; export declare const subjectOption: { subject: { type: string; demandOption: boolean; describe: string; }; }; export declare const userOption: { user: { type: string; demandOption: boolean; describe: string; }; }; export declare const metadataOptions: { name: { type: string; demandOption: boolean; describe: string; }; 'metadata-hash': { type: string; default: string; describe: string; }; image: { type: string; default: string; describe: string; }; };