import { type QueryClient } from '@cosmjs/stargate'; import { AltVM } from '@hyperlane-xyz/provider-sdk'; import { type PostDispatchExtension } from '../hyperlane/post_dispatch/query.js'; /** * Type alias for query client with PostDispatch extension. * Used throughout hook readers to ensure type safety. */ export type CosmosHookQueryClient = QueryClient & PostDispatchExtension; export declare function getHookType(query: CosmosHookQueryClient, hookAddress: string): Promise; /** * Query IGP hook configuration from chain. * * @param query - Query client with PostDispatchExtension * @param hookId - ID of the IGP hook to query * @returns IGP hook configuration with address, owner, and destination gas configs * @throws Error if IGP hook not found */ export declare function getIgpHookConfig(query: CosmosHookQueryClient, hookId: string): Promise<{ address: string; owner: string; destinationGasConfigs: { [domainId: string]: { gasOracle: { tokenExchangeRate: string; gasPrice: string; }; gasOverhead: string; }; }; }>; /** * Query MerkleTree hook configuration from chain. * * @param query - Query client with PostDispatchExtension * @param hookId - ID of the MerkleTree hook to query * @returns MerkleTree hook configuration with address * @throws Error if MerkleTree hook not found */ export declare function getMerkleTreeHookConfig(query: CosmosHookQueryClient, hookId: string): Promise<{ address: string; }>; //# sourceMappingURL=hook-query.d.ts.map