import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction, Signer, utils } from 'ethers'; import type { FunctionFragment, Result } from '@ethersproject/abi'; import type { Listener, Provider } from '@ethersproject/providers'; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from './common'; export declare namespace IFastBridge { type BridgeParamsStruct = { dstChainId: BigNumberish; sender: string; to: string; originToken: string; destToken: string; originAmount: BigNumberish; destAmount: BigNumberish; sendChainGas: boolean; deadline: BigNumberish; }; type BridgeParamsStructOutput = [number, string, string, string, string, BigNumber, BigNumber, boolean, BigNumber] & { dstChainId: number; sender: string; to: string; originToken: string; destToken: string; originAmount: BigNumber; destAmount: BigNumber; sendChainGas: boolean; deadline: BigNumber; }; } export declare namespace IFastBridgeInterceptor { type InterceptorParamsStruct = { fastBridge: string; quoteOriginAmount: BigNumberish; }; type InterceptorParamsStructOutput = [string, BigNumber] & { fastBridge: string; quoteOriginAmount: BigNumber; }; } export interface FastBridgeInterceptorInterface extends utils.Interface { functions: { 'MAX_ORIGIN_AMOUNT_DIFF()': FunctionFragment; 'NATIVE_GAS_TOKEN()': FunctionFragment; 'bridgeWithInterception((uint32,address,address,address,address,uint256,uint256,bool,uint256),(address,uint256))': FunctionFragment; }; getFunction(nameOrSignatureOrTopic: 'MAX_ORIGIN_AMOUNT_DIFF' | 'NATIVE_GAS_TOKEN' | 'bridgeWithInterception'): FunctionFragment; encodeFunctionData(functionFragment: 'MAX_ORIGIN_AMOUNT_DIFF', values?: undefined): string; encodeFunctionData(functionFragment: 'NATIVE_GAS_TOKEN', values?: undefined): string; encodeFunctionData(functionFragment: 'bridgeWithInterception', values: [IFastBridge.BridgeParamsStruct, IFastBridgeInterceptor.InterceptorParamsStruct]): string; decodeFunctionResult(functionFragment: 'MAX_ORIGIN_AMOUNT_DIFF', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'NATIVE_GAS_TOKEN', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'bridgeWithInterception', data: BytesLike): Result; events: {}; } export interface FastBridgeInterceptor extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: FastBridgeInterceptorInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { MAX_ORIGIN_AMOUNT_DIFF(overrides?: CallOverrides): Promise<[BigNumber]>; NATIVE_GAS_TOKEN(overrides?: CallOverrides): Promise<[string]>; bridgeWithInterception(params: IFastBridge.BridgeParamsStruct, interceptorParams: IFastBridgeInterceptor.InterceptorParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; }; MAX_ORIGIN_AMOUNT_DIFF(overrides?: CallOverrides): Promise; NATIVE_GAS_TOKEN(overrides?: CallOverrides): Promise; bridgeWithInterception(params: IFastBridge.BridgeParamsStruct, interceptorParams: IFastBridgeInterceptor.InterceptorParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; callStatic: { MAX_ORIGIN_AMOUNT_DIFF(overrides?: CallOverrides): Promise; NATIVE_GAS_TOKEN(overrides?: CallOverrides): Promise; bridgeWithInterception(params: IFastBridge.BridgeParamsStruct, interceptorParams: IFastBridgeInterceptor.InterceptorParamsStruct, overrides?: CallOverrides): Promise; }; filters: {}; estimateGas: { MAX_ORIGIN_AMOUNT_DIFF(overrides?: CallOverrides): Promise; NATIVE_GAS_TOKEN(overrides?: CallOverrides): Promise; bridgeWithInterception(params: IFastBridge.BridgeParamsStruct, interceptorParams: IFastBridgeInterceptor.InterceptorParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; }; populateTransaction: { MAX_ORIGIN_AMOUNT_DIFF(overrides?: CallOverrides): Promise; NATIVE_GAS_TOKEN(overrides?: CallOverrides): Promise; bridgeWithInterception(params: IFastBridge.BridgeParamsStruct, interceptorParams: IFastBridgeInterceptor.InterceptorParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; }; }