/** * ScVal encoding helpers for the Mercury indexer backend. * * The hosted passkey-indexer returns fully-decoded signer JSON, so the only * on-chain encoding the backend still needs is the contract `SignerKey` ScVal — * for the temporary-signer eviction probe (`contractDataExists`) and the * reverse-lookup on-chain confirmation (`getSigner`). Both go through the * contract Spec built from a throwaway client. * * @packageDocumentation */ import { xdr } from "@stellar/stellar-sdk"; import type { Spec as ContractSpec } from "@stellar/stellar-sdk/contract"; import { SignerKey } from "../types.js"; export declare function walletSpec(): ContractSpec; /** Encode an SDK-side {@link SignerKey} into its contract `SignerKey` ScVal. */ export declare function signerKeyToContractScVal(key: SignerKey): xdr.ScVal; //# sourceMappingURL=codec.d.ts.map