export type RlpInput = string | number | bigint | Uint8Array | RlpInput[] | null | undefined; export type NestedUint8Array = Array; export interface RlpDecoded { data: Uint8Array | NestedUint8Array; remainder: Uint8Array; } export declare function encode(input: RlpInput): Uint8Array; export declare function decode(input: RlpInput, stream?: false): Uint8Array | NestedUint8Array; export declare function decode(input: RlpInput, stream: true): RlpDecoded; export declare const Rlp: { encode: typeof encode; decode: typeof decode; }; export declare const RLP: { encode: typeof encode; decode: typeof decode; }; //# sourceMappingURL=rlp.d.ts.map