import type { SuiGrpcClient } from '@mysten/sui/grpc'; import type { OffchainLookup } from '../types/index.js'; import { type OffchainLookupHandler } from './base.js'; /** * Handler for DynamicFieldByType lookups (gRPC). * * 1. List dynamic fields of the parent object. * 2. Match by type_suffix (e.g. "CurrentPackage"). * 3. BCS-decode the field value to extract the address (extract_field, e.g. "package"). * 4. Fallback: Wormhole State objects keep the package in the object TYPE prefix, * not a dynamic field — derive it from the parent's type when no field matches. * Returns 32-byte address. */ export declare class DynamicFieldByTypeHandler implements OffchainLookupHandler> { resolve(lookup: Extract, client: SuiGrpcClient): Promise; } //# sourceMappingURL=dynamic-field-by-type.d.ts.map