import { Oracle, SignedPricesResponse } from "./types"; import { PendingOrderType } from "../../trade"; export interface FetchSignedPricesInput { oracles: Oracle[]; pairs: number[]; chain: number; minAnswer?: number; timeoutMs?: number; } export declare const fetchSignedPrices: (input: FetchSignedPricesInput) => Promise; export interface FetchSignedLookbackPricesInput { oracles: Oracle[]; trader: string; tradeIndex: number; pair: number; orderType: PendingOrderType; currentBlock: number; fromBlock: number; chain: number; minAnswer?: number; timeoutMs?: number; } export declare const fetchSignedLookbackPrices: (input: FetchSignedLookbackPricesInput) => Promise; export interface RetryOptions { maxRetries?: number; retryDelayMs?: number; backoffMultiplier?: number; } export declare const fetchSignedPricesWithRetry: (input: FetchSignedPricesInput, retryOptions?: RetryOptions) => Promise; export declare const fetchSignedLookbackPricesWithRetry: (input: FetchSignedLookbackPricesInput, retryOptions?: RetryOptions) => Promise; export declare const validateSignedPricesPairs: (pairs: number[]) => { valid: boolean; pairs: number[]; }; export declare const isValidSignedPricesChain: (chainId: number) => boolean; export declare const isValidSignedPricesOrderType: (orderType: PendingOrderType) => boolean;