import { z } from "zod"; export interface Emitter { emit(event: "add", payload: { hash: string; text: string; }): void; emit(event: "succeed" | "fail" | "update", payload: { hash: string; text: string; }): void; emit(event: "search-add" | "search-end" | "search-fail" | "search-update", payload: { text: string; }): void; emit(event: "mined-fail" | "mined-success", payload: { cctxs: CCTXs; }): void; } export interface CCTX { confirmed_on_destination: boolean; outbound_tx_hash: string; outbound_tx_tss_nonce: number; receiver_chainId: string; sender_chain_id: string; status: string; status_message: string; } export type CCTXs = Record; export type Spinners = Record; export interface PendingNonce { chain_id: string; nonce_high: string; nonce_low: string; tss: string; } interface Pagination { next_key: null | string; total: string; } export interface PendingNoncesResponse { pagination: Pagination; pending_nonces: PendingNonce[]; } declare const InboundHashToCctxResponseSchema: z.ZodObject<{ inboundHashToCctx: z.ZodObject<{ cctx_index: z.ZodArray; inbound_hash: z.ZodString; }, "strip", z.ZodTypeAny, { cctx_index: string[]; inbound_hash: string; }, { cctx_index: string[]; inbound_hash: string; }>; }, "strip", z.ZodTypeAny, { inboundHashToCctx: { cctx_index: string[]; inbound_hash: string; }; }, { inboundHashToCctx: { cctx_index: string[]; inbound_hash: string; }; }>; export type InboundHashToCctxResponseReturnType = z.infer; export interface CrossChainTx { cctx_status: { abort_message: string; created_timestamp: string; error_message: string; error_message_abort: string; error_message_revert: string; isAbortRefunded: boolean; lastUpdate_timestamp: string; status: string; status_message: string; }; creator: string; inbound_params: { amount: string; asset: string; ballot_index: string; coin_type: string; confirmation_mode: string; finalized_zeta_height: string; is_cross_chain_call: boolean; observed_external_height: string; observed_hash: string; sender: string; sender_chain_id: string; status: string; tx_finalization_status: string; tx_origin: string; }; index: string; outbound_params: Array<{ amount: string; ballot_index: string; call_options: { gas_limit: string; is_arbitrary_call: boolean; }; coin_type: string; confirmation_mode: string; effective_gas_limit: string; effective_gas_price: string; gas_limit: string; gas_price: string; gas_priority_fee: string; gas_used: string; hash: string; observed_external_height: string; receiver: string; receiver_chainId: string; tss_nonce: string; tss_pubkey: string; tx_finalization_status: string; }>; protocol_contract_version: string; relayed_message: string; revert_options: { abort_address: string; call_on_revert: boolean; revert_address: string; revert_gas_limit: string; revert_message: string; }; zeta_fees: string; } export interface CrossChainTxResponse { CrossChainTx: CrossChainTx; } export interface TssResponse { TSS: { finalizedZetaHeight: string; keyGenZetaHeight: string; operator_address_list: string[]; tss_participant_list: string[]; tss_pubkey: string; }; } export {};