import { Api } from '../api'; import { Flat } from '../flats'; import { ProfileUrl } from '../profiles'; import { JsonHalCollection, JsonHalObject } from '../utils/jsonHal'; export interface Appointment { ID: string; cancelationReason: string; canceled: boolean; date: Date; description: string; expired: boolean; flat: Flat; maxInviteeCount: number; readonly currentInviteeCount: number; readonly defaultMaxInviteeCount: number; showContactInformation: boolean; userProfiles: ProfileUrl[]; } export interface FindAppointmentsByFlat { flatId: string; } export interface FindAppointmentsByProfile { profileId: string; } export interface FindAppointment { appointmentId: string; } export interface AppointmentResponse { headers: Headers; data: Appointment; } export interface AppointmentsResponse { headers: Headers; data: Appointment[]; } export declare const convertAppointment: (data: any) => Appointment; export declare const singleAppointmentResponse: (response: Response) => Promise; export declare const multiAppointmentResponse: (response: Response) => Promise; export declare const findAppointmentsByFlat: (locals: FindAppointmentsByFlat, api?: Api) => Promise; export declare const findAppointmentsByProfile: (locals: FindAppointmentsByProfile, api?: Api) => Promise; export declare const findAppointment: (locals: FindAppointment, api?: Api) => Promise; export declare const filterValidAppointments: (appointments: Appointment[], validAppointments: Appointment[], flat: Flat) => Appointment[];