import * as common from '@protocolink/common'; import * as core from '@protocolink/core'; export type FlashLoanLogicTokenList = common.Token[]; export type FlashLoanLogicParams = core.FlashLoanParams; export type FlashLoanLogicQuotation = core.FlashLoanQuotation; export type FlashLoanLogicFields = core.FlashLoanFields<{ referralCode?: number; }>; export declare class FlashLoanLogic extends core.Logic implements core.LogicTokenListInterface, core.LogicOracleInterface, core.LogicBuilderInterface { static id: string; static protocolId: string; static readonly supportedChainIds: number[]; get callbackAddress(): string; calcCallbackFee(loan: common.TokenAmount): Promise; getTokenList(): Promise; quote(params: FlashLoanLogicParams): Promise; build(fields: FlashLoanLogicFields): Promise<{ to: string; data: string; inputs: core.DataType.InputStruct[]; wrapMode: number; approveTo: string; callback: string; }>; }