import type { PeriodType, SupportedCurrencies } from '../../../../../entities/index.ts'; import type { HttpClient } from '../../../../../services/index.ts'; import type { ApiError, Response } from '../../../../types/index.ts'; export type HousePeriodsIdInput = { currency?: SupportedCurrencies; endDate: string; startDate: string; houseId: string; }; type Periods = { startAt: string; endAt: string; periodType: PeriodType; minimumDuration: number; houseId: number; definitivePrice: boolean; unitPriceWithoutOpCosts: number; nightCount: number; validMinimumDuration: boolean; minimumPriceWithoutOpCosts: number; priceWithoutOpCosts: number; }; export type HousePeriodsIdResponseData = { id: string; allMinimumDurationValid: boolean; endAt: string; fullyCovered: boolean; operationalCosts: null | number; publicPrice: number; startAt: string; currency: SupportedCurrencies; definitivePrices: boolean; lcCommission: number; ownerPriceWithoutOpCosts: string; periodBookableOnline: boolean; minimumPriceWithoutOpCosts: number; periods: Periods[]; }; declare const getHousePeriodsById: (http: HttpClient) => { query: ({ currency, endDate, startDate, houseId, }: HousePeriodsIdInput) => Promise>; }; export default getHousePeriodsById;