import { AccountEntity, AccountWidgetFiltersPublicEntity, AttendeeSecuredEntity, CompanyEntity, type EventEntity, LocationType, ServiceEntity, ServiceGroupEntity, StaffEntity, StaffGroupEntity, StaffGroupSecuredEntity } from "@agendize/js-agendize-api"; import { RouteLocationNormalized } from "vue-router"; import { Ref } from "vue"; import { PanelObjectDetailsEntity, ServiceGroupExtended } from "@/utils/appointment"; export declare const AppointmentWidgetTypeDefault = "widget"; export declare const AppointmentWidgetTypeValues: string[]; export declare type AppointmentWidgetType = typeof AppointmentWidgetTypeValues[number]; export type AppointmentContext = { account: AccountEntity; appointment?: EventEntity; company?: CompanyEntity; companyTags?: string[]; companies: CompanyEntity[]; useCompanyTemplate: boolean; lastSelectedGroup: ServiceGroupExtended | undefined; serviceGroups: ServiceGroupEntity[] | undefined; serviceGroupsLvl1: ServiceGroupExtended[] | undefined; serviceGroupsLvl2: ServiceGroupExtended[] | undefined; service: ServiceEntity | undefined; services: ServiceEntity[] | undefined; serviceLocation: LocationType | undefined; staffId: string | undefined; staffs: StaffEntity[] | undefined; staffGroupId: string | undefined; serviceGroupId: string | undefined; staffGroups: StaffGroupSecuredEntity[] | undefined; objectPanelDetails: PanelObjectDetailsEntity | undefined; liteMode: boolean; cipherParams: AccountWidgetFiltersPublicEntity | undefined; widgetType: AppointmentWidgetType | undefined; customStyle: string | undefined; attendees: AttendeeSecuredEntity[] | undefined; }; export declare const useAppointmentContext: import("pinia").StoreDefinition<"appointmentContext", AppointmentContext, { getAccount: (state: AppointmentContext) => any; getAppointment: (state: AppointmentContext) => any; getCompany: (state: AppointmentContext) => CompanyEntity | undefined; getCompanies: (state: AppointmentContext) => CompanyEntity[]; getCompanyTags: (state: AppointmentContext) => string[] | undefined; isCompanyTemplate: (state: AppointmentContext) => boolean; getLastSelectedGroup: (state: AppointmentContext) => any; getServiceGroups: (state: AppointmentContext) => any[] | undefined; getServiceGroupsLvl1: (state: AppointmentContext) => any[] | undefined; getServiceGroupsLvl2: (state: AppointmentContext) => any[] | undefined; getService: (state: AppointmentContext) => any; getServices: (state: AppointmentContext) => any[] | undefined; getServiceLocation: (state: AppointmentContext) => LocationType | undefined; getStaffId: (state: AppointmentContext) => string | undefined; getStaffs: (state: AppointmentContext) => any[] | undefined; getStaffGroupId: (state: AppointmentContext) => string | undefined; getServiceGroupId: (state: AppointmentContext) => string | undefined; getStaffGroups: (state: AppointmentContext) => StaffGroupSecuredEntity[] | undefined; getObjectPanelDetails: (state: AppointmentContext) => PanelObjectDetailsEntity | undefined; isLiteMode: (state: AppointmentContext) => boolean; getWidgetType: (state: AppointmentContext) => string | undefined; getCustomStyle: (state: AppointmentContext) => string | undefined; getCompanyParam: (state: AppointmentContext) => string | undefined; getServiceParam: (state: AppointmentContext) => string | undefined; getLocationParam: (state: AppointmentContext) => string | undefined; getAttendees: (state: AppointmentContext) => AttendeeSecuredEntity[] | undefined; }, { setAccount(account: AccountEntity): void; setAppointment(appointment: EventEntity): void; setCompany(company?: CompanyEntity): void; setCompanyTemplate(isCompanyTemplate: boolean): void; setCompanies(companies: CompanyEntity[]): void; setLastSelectedGroup(serviceGroup?: ServiceGroupExtended): void; setServiceGroups(serviceGroups?: ServiceGroupEntity[]): void; setServiceGroupsLvl1(lvl1?: ServiceGroupExtended[]): void; setServiceGroupsLvl2(lvl2?: ServiceGroupExtended[]): void; setService(service?: ServiceEntity): void; setServices(services?: ServiceEntity[]): void; setServiceLocation(location?: LocationType): void; setStaffId(staffId?: string): void; setStaffs(staffs?: StaffEntity[]): void; setStaffGroupId(staffGroupId?: string): void; setServiceGroupId(serviceGroupId?: string): void; setStaffGroups(staffGroups?: StaffGroupEntity[]): void; setObjectPanelDetails(object?: PanelObjectDetailsEntity): void; setLiteMode(liteMode: boolean): void; setAttendees(attendees?: AttendeeSecuredEntity): void; setWidgetType(widgetType: AppointmentWidgetType | string): void; setCustomStyle(style: string | undefined): void; setCompanyTags(companyTags?: string[]): void; setCipherParams(params: AccountWidgetFiltersPublicEntity): void; clean(): void; refresh(currentRoute: RouteLocationNormalized | Ref | undefined, options?: { account?: boolean; appointment: boolean; company: boolean; }): Promise; }>; //# sourceMappingURL=appointmentContext.d.ts.map