import { VehicleAttributes, QuoteResponseStatuse, QuotePriceType, QuotePickUpType, QuoteSource, Breakdown } from '../sharedTypes'; import { HttpResponse } from '../http/types'; export declare type QuotesAvailabilityParams = { originPlaceId: string; destinationPlaceId?: string; dateRequired?: string; }; export declare type QuotesSearchParams = { originPlaceId: string; destinationPlaceId: string; localTimeOfPickup?: string; }; export declare type QuotesAvailabilityResponse = { availabilities?: { availability_id?: string; fleet_id?: string; vehicle_class?: string; supplier_name?: string; logo_url?: string; description?: string; phone_number?: string; rating?: number; terms_conditions_url?: string; category_name?: string; integrated_fleet?: boolean; }[]; categories?: string[]; }; export declare type QuoteItem = { quote_id: string; fleet_id?: string; fleet_description?: string; availability_id?: string; fleet_name: string; phone_number?: string; pick_up_type?: QuotePickUpType; supplier_logo_url?: string; vehicle_class?: string; quote_type: QuotePriceType; high_price?: number; low_price?: number; currency_code?: string; qta_high_minutes?: number; qta_low_minutes?: number; terms_conditions_url?: string; category_name?: string; vehicle_attributes?: VehicleAttributes; source?: QuoteSource; validity?: number; }; export declare type QuotesResponse = { id: string; status: QuoteResponseStatuse; quote_items?: QuoteItem[]; validity?: number; }; export interface QuotesByIdResponse extends QuotesResponse { quote_items: QuoteItem[]; } export declare type Quote = { type?: 'QUOTE_TYPE_NOT_SET' | QuotePriceType; total: number; currency: string; gratuity_percent?: number; /** @depricated */ breakdown?: Breakdown[]; vehicle_class?: string; qta_high_minutes?: number; qta_low_minutes?: number; vehicle_attributes?: VehicleAttributes; source?: QuoteSource; high_price?: number; low_price?: number; }; export interface Quotes { checkAvailability(params: QuotesAvailabilityParams): Promise>; quotesSearch(params: QuotesSearchParams): Promise>; quotesSearchById(id: string, locale?: string): Promise>; }