/** * BlockSearchResponse type and creator */ import { BlockMeta } from '../block/block-meta'; /** * Response from block search RPC method */ export interface BlockSearchResponse { /** * Array of block metadata matching the search query */ readonly blocks: readonly BlockMeta[]; /** * Total number of blocks matching the query (for pagination) */ readonly totalCount: number; } export declare const BlockSearchResponseCodec: import("../../../codec").BaseCodec; /** * Creates a BlockSearchResponse from raw RPC data * @param data - Raw response data from RPC * @returns Typed BlockSearchResponse object */ export declare function createBlockSearchResponse(data: unknown): BlockSearchResponse;