import { type FeeTier, type Market, type MarketContext, type Quote } from '@lifi/perps-types'; import type { SDKRequestOptions } from '../types/config.js'; import type { PerpsSDKClient, ProviderGetQuoteParams } from '../types/provider.js'; /** * Shared provider-side `getQuote` implementation: resolve `params.symbol` to a * market on `provider` (matching `baseAsset.displaySymbol`, scoped by * `params.type`), fetch the orderbook snapshot, and build the {@link Quote} * with the provider's public base `feeTier`. Both venue plugins delegate here * so symbol resolution and the book walk live in one place; each plugin only * supplies its own base tier. * * @throws {PerpsError} `MarketNotFound` when no market matches symbol+type. * @internal */ export declare function resolveQuote(client: PerpsSDKClient, provider: string, params: ProviderGetQuoteParams, feeTier: FeeTier, options?: SDKRequestOptions): Promise; /** * Resolve `params.symbol` to a market on `provider` (matching * `baseAsset.displaySymbol`, scoped by `params.type`). Shared by the one-shot * {@link resolveQuote} and the streaming quote subscription so both quote the * same market for a given symbol+type. * * @throws {PerpsError} `MarketNotFound` when no market matches symbol+type. * @internal */ export declare function resolveQuoteMarket(client: PerpsSDKClient, provider: string, params: Pick, options?: SDKRequestOptions): Promise; /** * Fetch the live {@link MarketContext} for `marketId` on `provider`, the source * of the `markPrice` and `funding` a {@link Quote} carries. Shared by the * one-shot {@link resolveQuote} and the streaming quote subscription. * * @throws {PerpsError} `ServerError` when the provider returns no price for the * market. * @internal */ export declare function resolveQuotePrice(client: PerpsSDKClient, provider: string, marketId: string, options?: SDKRequestOptions): Promise; //# sourceMappingURL=resolveQuote.d.ts.map