import { HttpResponse } from '../http/types'; export declare type FareBreakdownItem = { tax_percentage: number; discount_percentage?: number; commission_percentage?: number; tax_amount: number; list_price: number; net_price: number; }; export declare type FareBreakdown = { base: FareBreakdownItem; commission?: FareBreakdownItem; extras?: FareBreakdownItem[]; expenses?: FareBreakdownItem[]; total: number; currency: string; }; export declare enum FinalFareStatuses { PENDING = "PENDING", FINAL = "FINAL", CANCELLED = "CANCELLED", FAILED = "FAILED" } export declare type FinalFareResponse = { state: keyof typeof FinalFareStatuses; expected_final_time?: string; expected_in?: number; breakdown?: FareBreakdown; }; export interface Fare { status(id: string): Promise>; }