import { QUERY_RESULT, QUERY_RESULTS, QUERY_TYPE, Repository } from "./index"; import { CustomStatusEntity } from "../data/CustomStatus"; import { AuthenticationService } from "../service/authenticationService"; import { IndexedDb } from "../db"; import { Logger } from "../utils/logger"; interface Args { account: string; customStatusId?: string; appointmentId?: string; } export declare class CustomStatusRepository extends Repository { private customStatusDb; private customStatusService; constructor(authenticationService: AuthenticationService, indexedDb: IndexedDb, baseURL: string, logger?: Logger); getAllCustomStatus(bearer: string, account: string, appointmentId?: string, mode?: QUERY_TYPE): Promise>; getCustomStatus(bearer: string, account: string, customStatusId: string, mode?: QUERY_TYPE): Promise>; createCustomStatus(bearer: string, account: string, customStatus: CustomStatusEntity): Promise; updateCustomStatus(bearer: string, account: string, customStatusId: string, customStatus: CustomStatusEntity): Promise; deleteCustomStatus(bearer: string, account: string, customStatusId: string): Promise; protected remoteGet(bearer: string, args: Args): Promise; protected remoteList(bearer: string, args: Args): Promise; protected remoteCreate(bearer: string, args: Args, item: CustomStatusEntity): Promise; protected remoteUpdate(bearer: string, args: Args, item: CustomStatusEntity): Promise; protected remoteDelete(bearer: string, args: Args): Promise; protected localList(args: Args): Promise; protected localGet(args: Args): Promise; protected localBulkSave(args: Args, items: CustomStatusEntity[]): Promise; protected localDelete(args: Args): Promise; protected localBulkDelete(items: CustomStatusEntity[]): Promise; private checkNullable; } export {};