/// import { ApiLeg, QuoteAsset } from '@convergence-rfq/rfq'; import { AccountMeta, PublicKey } from '@solana/web3.js'; import { Protocol } from '../protocolModule'; import { LegInstrument, QuoteInstrument } from './types'; import { Convergence } from '../../Convergence'; export declare function instrumentToSolitaLeg(legInstrument: LegInstrument): ApiLeg; export declare function serializeInstrumentAsSolitaLeg(legInstrument: LegInstrument): Buffer; export declare function getSerializedLegLength(legInstrument: LegInstrument): number; export declare function getProgramAccount(legInstrument: LegInstrument): AccountMeta; export declare function getValidationAccounts(legInstrument: LegInstrument): AccountMeta[]; export declare function instrumentToQuote(legInstrument: QuoteInstrument): QuoteAsset; export declare const legToBaseAssetMint: (convergence: Convergence, leg: LegInstrument) => Promise; export declare const getInstrumentProgramIndex: (protocol: Protocol, programAddress: PublicKey) => number;