import { QUERY_RESULT, QUERY_RESULTS, QUERY_TYPE, Repository } from "./index"; import { FormResultEntity } from "../data/FormResult"; import { AuthenticationService } from "../service/authenticationService"; import { IndexedDb } from "../db"; import { Logger } from "../utils/logger"; interface Args { account?: string; formId?: string; resultId?: string; timeZone?: string; } export declare class FormResultRepository extends Repository { private formResultService; constructor(authenticationService: AuthenticationService, indexedDb: IndexedDb, baseURL: string, logger?: Logger); getAllResultByForm(bearer: string, formId: string, timeZone: string, account: string, mode?: QUERY_TYPE): Promise>; getResultById(bearer: string, formId: string, resultId: string, timeZone: string, account: string, mode?: QUERY_TYPE): Promise>; updateResultById(bearer: string, formId: string, resultId: string, result: FormResultEntity, timeZone: string, account: string): Promise; deleteResultById(bearer: string, formId: string, resultId: string, account: string): Promise; protected localBulkDelete(items: FormResultEntity[]): Promise; protected localBulkSave(args: Args, items: FormResultEntity[]): Promise; protected localDelete(args: Args): Promise; protected localGet(args: Args): Promise; protected localList(args: Args): Promise; protected remoteCreate(bearer: string, args: Args, item: FormResultEntity): 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: FormResultEntity): Promise; private checkNullable; } export {};