import { MealieClient } from '../client.js'; import type { AdminAboutInfo, AppStatistics, CheckAppConfig, AdminUserIn, AdminUserOut, AdminUserPagination, UnlockResults, AdminForgotPassword, PasswordResetToken, HouseholdCreate, AdminHouseholdInDB, HouseholdPagination, UpdateHouseholdAdmin, GroupBase, GroupInDB, GroupAdminUpdate, GroupPagination, EmailReady, EmailTest, EmailSuccess, AllBackups, FileTokenResponse, MaintenanceSummary, MaintenanceStorageDetails, DebugResponse, AdminPaginationQuery } from '../types/admin.js'; import type { SuccessResponse } from '../types/common.js'; export declare class AdminService extends MealieClient { /** * Get application info */ getAppInfo(acceptLanguage?: string): Promise; /** * Get application statistics */ getAppStatistics(acceptLanguage?: string): Promise; /** * Check application configuration */ checkAppConfig(acceptLanguage?: string): Promise; /** * Get all users */ getAllUsers(options?: AdminPaginationQuery & { acceptLanguage?: string; }): Promise; /** * Create a new user */ createUser(data: AdminUserIn, acceptLanguage?: string): Promise; /** * Unlock users */ unlockUsers(force?: boolean, acceptLanguage?: string): Promise; /** * Get a specific user */ getUser(userId: string, acceptLanguage?: string): Promise; /** * Update a user */ updateUser(userId: string, data: AdminUserOut, acceptLanguage?: string): Promise; /** * Delete a user */ deleteUser(userId: string, acceptLanguage?: string): Promise; /** * Generate password reset token */ generatePasswordResetToken(data: AdminForgotPassword, acceptLanguage?: string): Promise; /** * Get all households */ getAllHouseholds(options?: AdminPaginationQuery & { acceptLanguage?: string; }): Promise; /** * Create a new household */ createHousehold(data: HouseholdCreate, acceptLanguage?: string): Promise; /** * Get a specific household */ getHousehold(householdId: string, acceptLanguage?: string): Promise; /** * Update a household */ updateHousehold(householdId: string, data: UpdateHouseholdAdmin, acceptLanguage?: string): Promise; /** * Delete a household */ deleteHousehold(householdId: string, acceptLanguage?: string): Promise; /** * Get all groups */ getAllGroups(options?: AdminPaginationQuery & { acceptLanguage?: string; }): Promise; /** * Create a new group */ createGroup(data: GroupBase, acceptLanguage?: string): Promise; /** * Get a specific group */ getGroup(groupId: string, acceptLanguage?: string): Promise; /** * Update a group */ updateGroup(groupId: string, data: GroupAdminUpdate, acceptLanguage?: string): Promise; /** * Delete a group */ deleteGroup(groupId: string, acceptLanguage?: string): Promise; /** * Check email configuration */ checkEmailConfig(acceptLanguage?: string): Promise; /** * Send test email */ sendTestEmail(data: EmailTest, acceptLanguage?: string): Promise; /** * Get all backups */ getAllBackups(acceptLanguage?: string): Promise; /** * Create backup */ createBackup(acceptLanguage?: string): Promise; /** * Get specific backup file token */ getBackupToken(fileName: string, acceptLanguage?: string): Promise; /** * Delete backup */ deleteBackup(fileName: string, acceptLanguage?: string): Promise; /** * Upload backup file */ uploadBackup(archive: File, acceptLanguage?: string): Promise; /** * Restore from backup */ restoreBackup(fileName: string, acceptLanguage?: string): Promise; /** * Get maintenance summary */ getMaintenanceSummary(acceptLanguage?: string): Promise; /** * Get storage details */ getStorageDetails(acceptLanguage?: string): Promise; /** * Clean images */ cleanImages(acceptLanguage?: string): Promise; /** * Clean temp files */ cleanTemp(acceptLanguage?: string): Promise; /** * Clean recipe folders */ cleanRecipeFolders(acceptLanguage?: string): Promise; /** * Debug OpenAI */ debugOpenAI(file?: File, acceptLanguage?: string): Promise; } //# sourceMappingURL=admin.d.ts.map