import type { SuiGraphQLClient } from '@mysten/sui/graphql'; import type { SuiJsonRpcClient } from '@mysten/sui/jsonRpc'; import type { LogFilter } from '../chain.ts'; type MerkleRoot = { max_seq_nr: string; merkle_root: string; min_seq_nr: string; on_ramp_address: string; source_chain_selector: string; }; /** * Commit event data structure from Sui blockchain. */ export type CommitEvent = { blessed_merkle_roots: MerkleRoot[]; unblessed_merkle_roots: MerkleRoot[]; }; type EventNode = { sequenceNumber: string; sender: { address: string; }; timestamp: string; contents?: { json: T; }; transaction?: { effects: { checkpoint: { sequenceNumber: number; }; }; digest: string; }; }; /** * Streams logs from the Sui blockchain based on filter options. * @param ctx - Context containing Sui client and grraphqlClient instances. * @param opts - Log filter options. * @returns Async generator of log entries. */ export declare function streamSuiLogs(ctx: { client: SuiJsonRpcClient; graphqlClient: SuiGraphQLClient; }, opts: LogFilter): AsyncGenerator>; export {}; //# sourceMappingURL=events.d.ts.map