import { PublicKey } from '@meer-js/crypto'; import type { IDelegateAction } from './types.js'; import { Action } from './actions.js'; export declare class DelegateAction { senderId: string; receiverId: string; actions: Array; nonce: bigint; maxBlockHeight: bigint; publicKey: PublicKey; constructor({ senderId, receiverId, actions, nonce, maxBlockHeight, publicKey }: { senderId: string; receiverId: string; actions: Action[]; nonce: bigint; maxBlockHeight: bigint; publicKey: PublicKey; }); } /** * Compose a delegate action for inclusion with a meta transaction signed on the sender's behalf * @param actions The set of actions to be included in the meta transaction * @param maxBlockHeight The maximum block height for which this action can be executed as part of a transaction * @param nonce Current nonce on the access key used to sign the delegate action * @param publicKey Public key for the access key used to sign the delegate action * @param receiverId Account ID for the intended receiver of the meta transaction * @param senderId Account ID for the intended signer of the delegate action */ export declare function buildDelegateAction({ actions, maxBlockHeight, nonce, publicKey, receiverId, senderId, }: DelegateAction): IDelegateAction; //# sourceMappingURL=delegate.d.ts.map