import type { Uint8ArrayList } from "uint8arraylist"; import type { Codec } from "protons-runtime"; export interface RateLimitProof { proof: Uint8Array; merkleRoot: Uint8Array; epoch: Uint8Array; shareX: Uint8Array; shareY: Uint8Array; nullifier: Uint8Array; rlnIdentifier: Uint8Array; } export declare namespace RateLimitProof { const codec: () => Codec; const encode: (obj: RateLimitProof) => Uint8Array; const decode: (buf: Uint8Array | Uint8ArrayList) => RateLimitProof; } export interface WakuMessage { payload?: Uint8Array; contentTopic?: string; version?: number; timestampDeprecated?: number; timestamp?: bigint; rateLimitProof?: RateLimitProof; } export declare namespace WakuMessage { const codec: () => Codec; const encode: (obj: WakuMessage) => Uint8Array; const decode: (buf: Uint8Array | Uint8ArrayList) => WakuMessage; }