import { Transaction, type PublicKey, type TransactionInstruction } from "@solana/web3.js"; import type { ClientContext } from "../../context"; import type { CloseOrderbookAltParams, CloseOrderbookParams, Orderbook as ProgramOrderbook } from "../../program/types"; import type { OrderbookDepthResponse } from "./wire"; export declare class Orderbooks { private readonly client; constructor(client: ClientContext); pda(mintA: PublicKey, mintB: PublicKey): PublicKey; get(orderbookId: string, depth?: number): Promise; closeOrderbookAltIx(params: CloseOrderbookAltParams): TransactionInstruction; closeOrderbookIx(params: CloseOrderbookParams): TransactionInstruction; closeOrderbookAltTx(params: CloseOrderbookAltParams): Transaction; closeOrderbookTx(params: CloseOrderbookParams): Transaction; getOnchain(mintA: PublicKey, mintB: PublicKey): Promise; } //# sourceMappingURL=client.d.ts.map