import { Provider as BaseProvider } from '../../index.js'; export { http } from './http.js'; export declare const TESTNET_BASE_URL = "https://iris-api-sandbox.circle.com"; export declare const MAINNET_BASE_URL = "https://iris-api.circle.com"; export type ListMessagesParams = { /** The source domain ID associated with the messages. */ sourceDomainId: number | string; /** Whether sourceDomainId is testnet or not */ isTestnet?: boolean; /** The transaction hash to filter messages */ transactionHash: string; }; export type Message = { /** The hex-encoded message. Null if the attestation is not yet available. */ message: string; /** The nonce associated with the message */ nonce: string; /** The attestation. Null if not yet available. */ attestation: string | null; /** The CCTP version of the message. */ cctpVersion: number; /** The status of the message. */ status: 'pending_confirmations' | 'complete'; }; export type ListMessagesReturnType = Message[]; export type EIP1474Methods = [ { Method: 'circle_listMessages'; Parameters: Parameters; ReturnType: Awaited>; } ]; export declare class Provider extends BaseProvider { protected circle_listMessages(params: ListMessagesParams): Promise; }