import { Account } from '@solana/web3.js'; import { Configuration } from '../configuration'; import { Connection } from '../connection'; import { Market, Order } from '../markets/market'; import { Position } from './position'; export declare abstract class Protocol { configuration: Configuration; connection: Connection; owner?: Account; payer?: Account; symbols?: string[]; loaded: boolean; markets: Record; payerBalance: number; positions: Record; listening: boolean; constructor(cluster: string, verbose: boolean, keyfile?: string, symbols?: string[]); airdrop(symbol: string, amount: number): Promise; cancelOrders(): Promise; abstract closeAccount(): Promise; closeOpenOrders(): Promise; crank(): Promise; createOpenOrders(): Promise; createTokenAccounts(): Promise; deposit(symbol: string, amount: number): Promise; listen(): Promise; load(): Promise; printAsks(marketName: string, depth?: number): Promise; printAskOrders(marketName: string, depth?: number): Promise; printBalance(): void; printBids(marketName: string, depth?: number): Promise; printBidOrders(marketName: string, depth?: number): Promise; printOpenOrders(): void; refreshOpenOrders(): Promise; sendOrders(orders: Order[]): void; sendTestOrder(marketName: string, token: string, price: number, size: number): void; setLimits(limits: { symbol: string; maxOrderAmount: number; maxPositionAmount: number; minOrderInterval: number; minPositionAmount: number; }): Promise; settleFunds(): Promise; withdraw(symbol: string, amount: number): Promise; } //# sourceMappingURL=protocol.d.ts.map