import { Command } from "commander"; import type { ExchangeAdapter } from "../exchanges/index.js"; export declare function registerArbCommands(program: Command, isJson: () => boolean, getAdapterForExchange?: (exchange: string) => Promise): void; export interface PriceSnapshot { symbol: string; pacPrice: number | null; hlPrice: number | null; ltPrice: number | null; maxGap: number; maxGapPct: number; cheapest: string; expensive: string; } export declare function fetchAllPrices(): Promise; export declare function formatGapPrice(p: number): string; export declare function printGapTable(snapshots: PriceSnapshot[], minGap: number): void; export declare function printTrackSummary(symbol: string, samples: { time: string; gap: number; gapPct: number; direction: string; }[]): void; export declare function handleRates(isJson: () => boolean, opts: { symbol?: string; symbols?: string; all?: boolean; minSpread: string; top?: string; }): Promise; export declare function handleBasisScan(isJson: () => boolean, opts: { minBasis: string; symbol?: string; }): Promise; export declare function handleDexScan(isJson: () => boolean, opts: { minSpread: string; maxGap: string; includeNative: boolean; top: string; }): Promise; export declare function handleCompare(isJson: () => boolean, symbol: string): Promise; export declare function handleFundingHistory(isJson: () => boolean, opts: { symbol: string; hours: string; exchange?: string; }): Promise; export declare function handleFundingPositions(isJson: () => boolean, getAdapterForExchange: (exchange: string) => Promise, opts: { exchanges?: string; }): Promise;