import type { LogFilter } from '@mattermost/types/admin'; import type { Channel, ChannelSearchOpts } from '@mattermost/types/channels'; import type { Compliance } from '@mattermost/types/compliance'; import type { AdminConfig, AllowedIPRange, LdapSettings } from '@mattermost/types/config'; import type { CreateDataRetentionCustomPolicy, DataRetentionCustomPolicies, GetDataRetentionCustomPoliciesRequest, PatchDataRetentionCustomPolicy } from '@mattermost/types/data_retention'; import type { GroupSearchOpts } from '@mattermost/types/groups'; import type { CompleteOnboardingRequest } from '@mattermost/types/setup'; import type { Team, TeamSearchOpts } from '@mattermost/types/teams'; import type { DeepPartial } from '@mattermost/types/utilities'; import type { ActionFuncAsync } from 'mattermost-redux/types/actions'; export declare function getLogs({ serverNames, logLevels, dateFrom, dateTo }: LogFilter): ActionFuncAsync; export declare function getPlainLogs(page?: number, perPage?: number): ActionFuncAsync; export declare function getAudits(page?: number, perPage?: number): ActionFuncAsync; export declare function getConfig(): ActionFuncAsync; export declare function patchConfig(config: DeepPartial): ActionFuncAsync; export declare function reloadConfig(): ActionFuncAsync; export declare function getEnvironmentConfig(): ActionFuncAsync; export declare function testEmail(config?: AdminConfig): ActionFuncAsync; export declare function testSiteURL(siteURL: string): ActionFuncAsync; export declare function testS3Connection(config?: AdminConfig): ActionFuncAsync; export declare function invalidateCaches(): ActionFuncAsync; export declare function recycleDatabase(): ActionFuncAsync; export declare function createComplianceReport(job: Partial): ActionFuncAsync; export declare function getComplianceReport(reportId: string): ActionFuncAsync; export declare function getComplianceReports(page?: number, perPage?: number): ActionFuncAsync; export declare function uploadBrandImage(imageData: File): ActionFuncAsync; export declare function deleteBrandImage(): ActionFuncAsync; export declare function getClusterStatus(): ActionFuncAsync; export declare function testLdap(): ActionFuncAsync; export declare function testLdapConnection(settings: LdapSettings): ActionFuncAsync; export declare function testLdapFilters(settings: LdapSettings): ActionFuncAsync; export declare function testLdapAttributes(settings: LdapSettings): ActionFuncAsync; export declare function testLdapGroupAttributes(settings: LdapSettings): ActionFuncAsync; export declare function syncLdap(): ActionFuncAsync; export declare function getLdapGroups(page?: number, perPage?: number, opts?: GroupSearchOpts): ActionFuncAsync<{ count: number; groups: import("@mattermost/types/groups").MixedUnlinkedGroup[]; }, import("@mattermost/types/store").GlobalState, import("redux").AnyAction>; export declare function linkLdapGroup(key: string): ActionFuncAsync; export declare function unlinkLdapGroup(key: string): ActionFuncAsync; export declare function getSamlCertificateStatus(): ActionFuncAsync; export declare function uploadPublicSamlCertificate(fileData: File): ActionFuncAsync; export declare function uploadPrivateSamlCertificate(fileData: File): ActionFuncAsync; export declare function uploadPublicLdapCertificate(fileData: File): ActionFuncAsync; export declare function uploadPrivateLdapCertificate(fileData: File): ActionFuncAsync; export declare function uploadIdpSamlCertificate(fileData: File): ActionFuncAsync; export declare function uploadAuditCertificate(fileData: File): ActionFuncAsync; export declare function removeAuditCertificate(): ActionFuncAsync; export declare function removePublicSamlCertificate(): ActionFuncAsync; export declare function removePrivateSamlCertificate(): ActionFuncAsync; export declare function removePublicLdapCertificate(): ActionFuncAsync; export declare function removePrivateLdapCertificate(): ActionFuncAsync; export declare function removeIdpSamlCertificate(): ActionFuncAsync; export declare function testElasticsearch(config?: AdminConfig): ActionFuncAsync; export declare function purgeElasticsearchIndexes(indexes?: string[]): ActionFuncAsync; export declare function uploadLicense(fileData: File): ActionFuncAsync; export declare function removeLicense(): ActionFuncAsync; export declare function getPrevTrialLicense(): ActionFuncAsync; export declare function getAnalytics(name: string, teamId?: string): ActionFuncAsync; export declare function getStandardAnalytics(teamId?: string): ActionFuncAsync; export declare function getAdvancedAnalytics(teamId?: string): ActionFuncAsync; export declare function getPostsPerDayAnalytics(teamId?: string): ActionFuncAsync; export declare function getBotPostsPerDayAnalytics(teamId?: string): ActionFuncAsync; export declare function getUsersPerDayAnalytics(teamId?: string): ActionFuncAsync; export declare function uploadPlugin(fileData: File, force?: boolean): ActionFuncAsync; export declare function installPluginFromUrl(url: string, force?: boolean): ActionFuncAsync; export declare function getPlugins(): ActionFuncAsync; export declare function getPluginStatuses(): ActionFuncAsync; export declare function removePlugin(pluginId: string): ActionFuncAsync; export declare function enablePlugin(pluginId: string): ActionFuncAsync; export declare function disablePlugin(pluginId: string): ActionFuncAsync; export declare function getSamlMetadataFromIdp(samlMetadataURL: string): ActionFuncAsync; export declare function setSamlIdpCertificateFromMetadata(certData: string): ActionFuncAsync; export declare function getDataRetentionCustomPolicies(page?: number, perPage?: number): ActionFuncAsync; export declare function getDataRetentionCustomPolicy(id: string): ActionFuncAsync; export declare function deleteDataRetentionCustomPolicy(id: string): ActionFuncAsync<{ id: string; }>; export declare function getDataRetentionCustomPolicyTeams(id: string, page?: number, perPage?: number): ActionFuncAsync; export declare function getDataRetentionCustomPolicyChannels(id: string, page?: number, perPage?: number): ActionFuncAsync<{ channels: Channel[]; total_count: number; }>; export declare function searchDataRetentionCustomPolicyTeams(id: string, term: string, opts: TeamSearchOpts): ActionFuncAsync; export declare function searchDataRetentionCustomPolicyChannels(id: string, term: string, opts: ChannelSearchOpts): ActionFuncAsync; export declare function createDataRetentionCustomPolicy(policy: CreateDataRetentionCustomPolicy): ActionFuncAsync; export declare function updateDataRetentionCustomPolicy(id: string, policy: PatchDataRetentionCustomPolicy): ActionFuncAsync; export declare function addDataRetentionCustomPolicyTeams(id: string, teams: string[]): ActionFuncAsync; export declare function removeDataRetentionCustomPolicyTeams(id: string, teams: string[]): ActionFuncAsync<{ teams: string[]; }>; export declare function addDataRetentionCustomPolicyChannels(id: string, channels: string[]): ActionFuncAsync; export declare function removeDataRetentionCustomPolicyChannels(id: string, channels: string[]): ActionFuncAsync<{ channels: string[]; }>; export declare function completeSetup(completeSetup: CompleteOnboardingRequest): ActionFuncAsync; export declare function getAppliedSchemaMigrations(): ActionFuncAsync; export declare function getIPFilters(): ActionFuncAsync; export declare function getCurrentIP(): ActionFuncAsync; export declare function applyIPFilters(ipFilters: AllowedIPRange[]): ActionFuncAsync;