import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common";
export interface Solana_AdapterInterface extends utils.Interface {
    functions: {
        "SOLANA_SPOKE_POOL_ADDRESS()": FunctionFragment;
        "SOLANA_SPOKE_POOL_BYTES32()": FunctionFragment;
        "SOLANA_SPOKE_POOL_USDC_VAULT()": FunctionFragment;
        "SOLANA_USDC_ADDRESS()": FunctionFragment;
        "SOLANA_USDC_BYTES32()": FunctionFragment;
        "cctpMessageTransmitter()": FunctionFragment;
        "cctpTokenMessenger()": FunctionFragment;
        "recipientCircleDomainId()": FunctionFragment;
        "relayMessage(address,bytes)": FunctionFragment;
        "relayTokens(address,address,uint256,address)": FunctionFragment;
        "usdcToken()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "SOLANA_SPOKE_POOL_ADDRESS" | "SOLANA_SPOKE_POOL_BYTES32" | "SOLANA_SPOKE_POOL_USDC_VAULT" | "SOLANA_USDC_ADDRESS" | "SOLANA_USDC_BYTES32" | "cctpMessageTransmitter" | "cctpTokenMessenger" | "recipientCircleDomainId" | "relayMessage" | "relayTokens" | "usdcToken"): FunctionFragment;
    encodeFunctionData(functionFragment: "SOLANA_SPOKE_POOL_ADDRESS", values?: undefined): string;
    encodeFunctionData(functionFragment: "SOLANA_SPOKE_POOL_BYTES32", values?: undefined): string;
    encodeFunctionData(functionFragment: "SOLANA_SPOKE_POOL_USDC_VAULT", values?: undefined): string;
    encodeFunctionData(functionFragment: "SOLANA_USDC_ADDRESS", values?: undefined): string;
    encodeFunctionData(functionFragment: "SOLANA_USDC_BYTES32", values?: undefined): string;
    encodeFunctionData(functionFragment: "cctpMessageTransmitter", values?: undefined): string;
    encodeFunctionData(functionFragment: "cctpTokenMessenger", values?: undefined): string;
    encodeFunctionData(functionFragment: "recipientCircleDomainId", values?: undefined): string;
    encodeFunctionData(functionFragment: "relayMessage", values: [string, BytesLike]): string;
    encodeFunctionData(functionFragment: "relayTokens", values: [string, string, BigNumberish, string]): string;
    encodeFunctionData(functionFragment: "usdcToken", values?: undefined): string;
    decodeFunctionResult(functionFragment: "SOLANA_SPOKE_POOL_ADDRESS", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "SOLANA_SPOKE_POOL_BYTES32", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "SOLANA_SPOKE_POOL_USDC_VAULT", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "SOLANA_USDC_ADDRESS", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "SOLANA_USDC_BYTES32", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "cctpMessageTransmitter", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "cctpTokenMessenger", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "recipientCircleDomainId", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "relayMessage", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "relayTokens", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "usdcToken", data: BytesLike): Result;
    events: {
        "MessageRelayed(address,bytes)": EventFragment;
        "TokensRelayed(address,address,uint256,address)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "TokensRelayed"): EventFragment;
}
export interface MessageRelayedEventObject {
    target: string;
    message: string;
}
export type MessageRelayedEvent = TypedEvent<[
    string,
    string
], MessageRelayedEventObject>;
export type MessageRelayedEventFilter = TypedEventFilter<MessageRelayedEvent>;
export interface TokensRelayedEventObject {
    l1Token: string;
    l2Token: string;
    amount: BigNumber;
    to: string;
}
export type TokensRelayedEvent = TypedEvent<[
    string,
    string,
    BigNumber,
    string
], TokensRelayedEventObject>;
export type TokensRelayedEventFilter = TypedEventFilter<TokensRelayedEvent>;
export interface Solana_Adapter extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: Solana_AdapterInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        SOLANA_SPOKE_POOL_ADDRESS(overrides?: CallOverrides): Promise<[string]>;
        SOLANA_SPOKE_POOL_BYTES32(overrides?: CallOverrides): Promise<[string]>;
        SOLANA_SPOKE_POOL_USDC_VAULT(overrides?: CallOverrides): Promise<[string]>;
        SOLANA_USDC_ADDRESS(overrides?: CallOverrides): Promise<[string]>;
        SOLANA_USDC_BYTES32(overrides?: CallOverrides): Promise<[string]>;
        cctpMessageTransmitter(overrides?: CallOverrides): Promise<[string]>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<[string]>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<[number]>;
        relayMessage(target: string, message: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        relayTokens(l1Token: string, l2Token: string, amount: BigNumberish, to: string, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        usdcToken(overrides?: CallOverrides): Promise<[string]>;
    };
    SOLANA_SPOKE_POOL_ADDRESS(overrides?: CallOverrides): Promise<string>;
    SOLANA_SPOKE_POOL_BYTES32(overrides?: CallOverrides): Promise<string>;
    SOLANA_SPOKE_POOL_USDC_VAULT(overrides?: CallOverrides): Promise<string>;
    SOLANA_USDC_ADDRESS(overrides?: CallOverrides): Promise<string>;
    SOLANA_USDC_BYTES32(overrides?: CallOverrides): Promise<string>;
    cctpMessageTransmitter(overrides?: CallOverrides): Promise<string>;
    cctpTokenMessenger(overrides?: CallOverrides): Promise<string>;
    recipientCircleDomainId(overrides?: CallOverrides): Promise<number>;
    relayMessage(target: string, message: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    relayTokens(l1Token: string, l2Token: string, amount: BigNumberish, to: string, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    usdcToken(overrides?: CallOverrides): Promise<string>;
    callStatic: {
        SOLANA_SPOKE_POOL_ADDRESS(overrides?: CallOverrides): Promise<string>;
        SOLANA_SPOKE_POOL_BYTES32(overrides?: CallOverrides): Promise<string>;
        SOLANA_SPOKE_POOL_USDC_VAULT(overrides?: CallOverrides): Promise<string>;
        SOLANA_USDC_ADDRESS(overrides?: CallOverrides): Promise<string>;
        SOLANA_USDC_BYTES32(overrides?: CallOverrides): Promise<string>;
        cctpMessageTransmitter(overrides?: CallOverrides): Promise<string>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<string>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<number>;
        relayMessage(target: string, message: BytesLike, overrides?: CallOverrides): Promise<void>;
        relayTokens(l1Token: string, l2Token: string, amount: BigNumberish, to: string, overrides?: CallOverrides): Promise<void>;
        usdcToken(overrides?: CallOverrides): Promise<string>;
    };
    filters: {
        "MessageRelayed(address,bytes)"(target?: null, message?: null): MessageRelayedEventFilter;
        MessageRelayed(target?: null, message?: null): MessageRelayedEventFilter;
        "TokensRelayed(address,address,uint256,address)"(l1Token?: null, l2Token?: null, amount?: null, to?: null): TokensRelayedEventFilter;
        TokensRelayed(l1Token?: null, l2Token?: null, amount?: null, to?: null): TokensRelayedEventFilter;
    };
    estimateGas: {
        SOLANA_SPOKE_POOL_ADDRESS(overrides?: CallOverrides): Promise<BigNumber>;
        SOLANA_SPOKE_POOL_BYTES32(overrides?: CallOverrides): Promise<BigNumber>;
        SOLANA_SPOKE_POOL_USDC_VAULT(overrides?: CallOverrides): Promise<BigNumber>;
        SOLANA_USDC_ADDRESS(overrides?: CallOverrides): Promise<BigNumber>;
        SOLANA_USDC_BYTES32(overrides?: CallOverrides): Promise<BigNumber>;
        cctpMessageTransmitter(overrides?: CallOverrides): Promise<BigNumber>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<BigNumber>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<BigNumber>;
        relayMessage(target: string, message: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        relayTokens(l1Token: string, l2Token: string, amount: BigNumberish, to: string, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        usdcToken(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        SOLANA_SPOKE_POOL_ADDRESS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        SOLANA_SPOKE_POOL_BYTES32(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        SOLANA_SPOKE_POOL_USDC_VAULT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        SOLANA_USDC_ADDRESS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        SOLANA_USDC_BYTES32(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        cctpMessageTransmitter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        cctpTokenMessenger(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        recipientCircleDomainId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        relayMessage(target: string, message: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        relayTokens(l1Token: string, l2Token: string, amount: BigNumberish, to: string, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        usdcToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
