import { D2ApiGeneric } from "./d2Api"; import { D2ApiResponse } from "./common"; declare const keys: readonly ["analyticsTableClear", "analyticsTableAnalyze", "zeroDataValueRemoval", "softDeletedDataValueRemoval", "softDeletedEventRemoval", "softDeletedEnrollmentRemoval", "softDeletedTrackedEntityInstanceRemoval", "periodPruning", "expiredInvitationsClear", "sqlViewsDrop", "sqlViewsCreate", "categoryOptionComboUpdate", "ouPathsUpdate", "cacheClear", "appReload"]; export declare class Maintenance { d2Api: D2ApiGeneric; constructor(d2Api: D2ApiGeneric); tasks: TasksNamespace; runTasks(tasks: MaintenanceTask[]): D2ApiResponse; categoryOptionComboSingleUpdate(id: string): D2ApiResponse; dataPruningOrganisationUnit(id: string): D2ApiResponse; dataPruningDataElement(id: string): D2ApiResponse; } export declare type MaintenanceTask = typeof keys[number]; declare type TasksNamespace = { [Task in MaintenanceTask]: Task; }; export {};