import { Repository } from "./index"; import { SchedulingRightsEntity } from "../data/scheduling/SchedulingRights"; import { AuthenticationService } from "../service/authenticationService"; import { Logger } from "../utils/logger"; interface Args { organisation: string; userId?: string; } export declare class SchedulingRightsRepository extends Repository { private schedulingRightsService; constructor(authenticationService: AuthenticationService, baseURL: string, logger?: Logger); getSchedulingRightsByUser(bearer: string, organisation: string, userId: string): Promise; updateSchedulingRights(bearer: string, organisation: string, userId: string, rights: SchedulingRightsEntity): Promise; getSchedulingRights(bearer: string, organisation: string): Promise; protected localBulkDelete(items: SchedulingRightsEntity[]): Promise; protected localBulkSave(args: Args, items: SchedulingRightsEntity[]): Promise; protected localDelete(args: Args): Promise; protected localGet(args: Args): Promise; protected localList(args: Args): Promise; protected remoteCreate(bearer: string, args: Args, item: SchedulingRightsEntity): Promise; protected remoteDelete(bearer: string, args: Args): Promise; protected remoteGet(bearer: string, args: Args): Promise; protected remoteList(bearer: string, args: Args): Promise; protected remoteUpdate(bearer: string, args: Args, item: SchedulingRightsEntity): Promise; } export {};