import { providers, Signer } from 'ethers'; import { BorrowAMM } from '../BorrowAMM/borrowAMM'; import { Position } from '../Position/position'; import { AMM } from '../AMM/amm'; export declare class Protocol { readonly lpWhitelistedAmms: Set; readonly traderWhitelistedAmms: Set; readonly allAmms: Set; readonly factoryAddress: string; readonly provider?: providers.Provider; readonly coingeckoApiKey: string; readonly graphEndpoint: string; private amms; private positions; private borrowAmms; constructor({ factoryAddress, provider, coingeckoApiKey, lpWhitelistedAmms, traderWhitelistedAmms, graphEndpoint, }: { factoryAddress: string; provider?: providers.Provider; coingeckoApiKey: string; lpWhitelistedAmms: string[]; traderWhitelistedAmms: string[]; graphEndpoint: string; }); onLand: () => Promise; onConnect: (signer: Signer | string) => Promise; findAMM: (ammId: string) => AMM | undefined; findPosition: (positionId: string) => Position | undefined; findBorrowAMM: (borrowAMMId: string) => BorrowAMM | undefined; findPositionByAMM: ({ amm, filterBy, }: { amm: AMM; filterBy?: "TRADER" | "LP" | "FT" | "VT" | "BORROWER" | undefined; }) => Position | undefined; findRolloverAMM: (position: Position) => AMM | undefined; getAMMs(params?: { filterBy?: 'TRADER' | 'LP' | 'BORROW'; active?: boolean; }): AMM[]; getPositions(params?: { filterBy?: 'TRADER' | 'LP' | 'FT' | 'VT' | 'BORROWER'; active?: boolean; }): Position[]; } //# sourceMappingURL=protocol.d.ts.map