/**
 * FX Price Provider Interface
 * Allows plugging in external price sources (OTC, market data feeds, etc.)
 */

export interface FxPriceProvider {
  /**
   * Get market price for FX pair
   * @param pair - FX pair (e.g., BTC/USD, USD/EUR)
   * @param amount - Optional amount for amount-weighted pricing
   * @returns Price string or null if not available
   */
  getPrice(pair: string, amount?: number): string | null | Promise<string | null>;

  /**
   * Check if provider supports the pair
   */
  isPairSupported?(pair: string): boolean;
}
