import type { Command } from 'commander'; import type { ApiFactory } from '../config.js'; import type { GlobalOptions } from '../types.js'; /** * Registers the `create` command. * * A deterministic (`-t k`) identifier has three mutually-exclusive input modes, * selected by which is present: * - generate (neither `--bytes` nor `--signing-key`): mint a fresh key, persist * it to the keystore, set it active, and print the identifier. Sealing the * secret prompts for the keystore passphrase. * - existing (`--signing-key `): use a stored key's public key as the * genesis bytes. Reading a public key never decrypts, so this never prompts. * - raw (`--bytes `): a 33-byte public key as hex. Offline, keystore-free. * * An external (`-t x`) identifier is raw-bytes-only: a 32-byte genesis-document * hash via `--bytes`. Generation and `--signing-key` apply only to `-t k`. * * The keystore-free `factory` serves the raw-bytes path; the keystore-aware * `keystoreFactory` serves the generate and existing-key paths. */ export declare function registerCreateCommand(program: Command, factory: ApiFactory, keystoreFactory: ApiFactory, globals: () => GlobalOptions): void; //# sourceMappingURL=create.d.ts.map