import type { UserOperationStruct_v6 } from "@alchemy/aa-core"; import { Key } from "../types"; import type { SignersNonces, SignersPubKeys, SignersSignatures, PublicNonces, SignatureOutput } from "../types"; import type { Hex } from "../types/misc"; import type { SchnorrSigner } from "../signers"; interface SerializedMultiSigOp { id: string; opHash: string; userOpRequest: { sender: string; nonce: string; initCode: string; callData: string; callGasLimit: string; verificationGasLimit: string; preVerificationGas: string; maxFeePerGas: string; maxPriorityFeePerGas: string; paymasterAndData: string; signature: string; }; combinedPubKey: string; publicNonces: Record; publicKeys: Record; signatures: Record; } export declare class MultiSigUserOp { readonly id: string; readonly opHash: Hex; readonly userOpRequest: UserOperationStruct_v6; combinedPubKey: Key; publicNonces: SignersNonces; publicKeys: SignersPubKeys; signatures: SignersSignatures; constructor(publicKeys: Key[], publicNonces: PublicNonces[], opHash: Hex, userOpRequest: UserOperationStruct_v6); getOpHash(): string; /** * Synchronous partial signature over the op hash. Unchanged for signers * without a persistent NonceBurnStore. A signer created with * `{ nonceStore }` must use {@link signMultiSigHashAsync}: the sync path * cannot consult the store, so it refuses (nothing is signed). */ signMultiSigHash(signer: SchnorrSigner): SignatureOutput; /** * Async partial signature over the op hash (AA-7). Uses the signer's * persistent NonceBurnStore when one is configured: the nonce pair is * checked and durably burned before the partial signature is computed; if * the store refuses or fails, nothing is signed and no signature is * recorded on this op. Without a store it behaves like * {@link signMultiSigHash}. */ signMultiSigHashAsync(signer: SchnorrSigner): Promise; getSummedSigData(): Hex; getAddressSignature(signerAddress: string): SignatureOutput; getAddressPublicNonces(signerAddress: string): PublicNonces; getAddressPubKeys(signerAddress: string): Key; _getSignatures(): SignatureOutput[]; _getPublicNonces(): PublicNonces[]; _getPublicKeys(): Key[]; toJson(): SerializedMultiSigOp; static fromJson: (serialized: any) => any; } export {};