/** * Minimal RLP (Recursive Length Prefix) encoder for EVM transaction serialization. * * Implements the RLP encoding scheme as specified in the Ethereum Yellow Paper, * Appendix B. Only encoding is needed — decoding is not required for transaction * construction. * * @see https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/ */ /** An RLP-encodable value: bytes, or a nested list of encodable values. */ export type RlpItem = Uint8Array | RlpItem[]; /** * RLP-encodes a single item or nested list of items. */ export declare function rlpEncode(input: RlpItem): Uint8Array;