import { LogLevel, Logger } from "@lodestar/utils"; import { Signer } from "@lodestar/validator"; import { GlobalArgs } from "../../../options/index.js"; import { IValidatorCliArgs } from "../options.js"; /** * Options processing hierarchy * --interopIndexes * --fromMnemonic, then requires --mnemonicIndexes * --importKeystores, then requires --importKeystoresPassword * --externalSigner.fetch, then requires --externalSigner.urls * --externalSigner.pubkeys, then requires --externalSigner.urls * else load from persisted * - both remote keys and local keystores * * @returns Signers = an item capable of producing signatures. Two types exist: * - Local: a secret key capable of signing * - Remote: a URL that supports EIP-3030 (BLS Remote Signer HTTP API) * * Local secret keys can be gathered from: * - Local keystores existent on disk * - Local keystores imported via keymanager api * - Derived from a mnemonic (TESTING ONLY) * - Derived from interop keys (TESTING ONLY) * * Remote signers need to pre-declare the list of pubkeys to validate with * - Via CLI argument * - Fetched directly from remote signer API * - Remote signer definition imported from keymanager api */ export declare function getSignersFromArgs(args: IValidatorCliArgs & GlobalArgs, network: string, { logger, signal }: { logger: Pick; signal: AbortSignal; }): Promise; export declare function getSignerPubkeyHex(signer: Signer): string; //# sourceMappingURL=index.d.ts.map