import type { AnyAction } from 'redux'; import type { Team, TeamMembership, TeamMemberWithError, GetTeamMembersOpts, TeamsWithCount, NotPagedTeamSearchOpts, PagedTeamSearchOpts } from '@mattermost/types/teams'; import type { ActionFuncAsync } from 'mattermost-redux/types/actions'; export declare function selectTeam(team: Team | Team['id']): { type: "SELECT_TEAM"; data: string; }; export declare function getMyTeams(): ActionFuncAsync; export declare function getMyTeamUnreads(collapsedThreads: boolean): ActionFuncAsync; export declare function getTeam(teamId: string): ActionFuncAsync; export declare function getTeamByName(teamName: string): ActionFuncAsync; export declare function getTeams(page?: number, perPage?: number, includeTotalCount?: boolean, excludePolicyConstrained?: boolean): ActionFuncAsync; export declare function searchTeams(term: string, opts: PagedTeamSearchOpts): ActionFuncAsync; export declare function searchTeams(term: string, opts?: NotPagedTeamSearchOpts): ActionFuncAsync; export declare function createTeam(team: Team): ActionFuncAsync; export declare function deleteTeam(teamId: string): ActionFuncAsync; export declare function unarchiveTeam(teamId: string): ActionFuncAsync; export declare function updateTeam(team: Team): ActionFuncAsync; export declare function patchTeam(team: Partial & { id: string; }): ActionFuncAsync; export declare function regenerateTeamInviteId(teamId: string): ActionFuncAsync; export declare function getMyTeamMembers(): ActionFuncAsync; export declare function getTeamMembers(teamId: string, page?: number, perPage?: number, options?: GetTeamMembersOpts): ActionFuncAsync; export declare function getTeamMember(teamId: string, userId: string): ActionFuncAsync; export declare function getTeamMembersByIds(teamId: string, userIds: string[]): ActionFuncAsync; export declare function getTeamsForUser(userId: string): ActionFuncAsync; export declare function getTeamMembersForUser(userId: string): ActionFuncAsync; export declare function getTeamStats(teamId: string): ActionFuncAsync; export declare function addUserToTeamFromInvite(token: string, inviteId: string): ActionFuncAsync; export declare function addUserToTeam(teamId: string, userId: string): ActionFuncAsync; export declare function addUsersToTeamGracefully(teamId: string, userIds: string[]): ActionFuncAsync; export declare function removeUserFromTeam(teamId: string, userId: string): ActionFuncAsync; export declare function sendEmailInvitesToTeam(teamId: string, emails: string[]): ActionFuncAsync; export declare function sendEmailGuestInvitesToChannels(teamId: string, channelIds: string[], emails: string[], message: string): ActionFuncAsync; export declare function sendEmailInvitesToTeamGracefully(teamId: string, emails: string[]): ActionFuncAsync; export declare function sendEmailGuestInvitesToChannelsGracefully(teamId: string, channelIds: string[], emails: string[], message: string, guestMagicLink?: boolean): ActionFuncAsync; export declare function sendEmailInvitesToTeamAndChannelsGracefully(teamId: string, channelIds: string[], emails: string[], message: string): ActionFuncAsync; export declare function getTeamInviteInfo(inviteId: string): ActionFuncAsync<{ display_name: string; description: string; name: string; id: string; }, import("@mattermost/types/store").GlobalState, AnyAction>; export declare function checkIfTeamExists(teamName: string): ActionFuncAsync; export declare function setTeamIcon(teamId: string, imageData: File): ActionFuncAsync; export declare function removeTeamIcon(teamId: string): ActionFuncAsync; export declare function updateTeamScheme(teamId: string, schemeId: string): ActionFuncAsync<{ teamId: string; schemeId: string; }>; export declare function updateTeamMemberSchemeRoles(teamId: string, userId: string, isSchemeUser: boolean, isSchemeAdmin: boolean): ActionFuncAsync; export declare function invalidateAllEmailInvites(): ActionFuncAsync; export declare function membersMinusGroupMembers(teamID: string, groupIDs: string[], page?: number, perPage?: number): ActionFuncAsync; export declare function getInProductNotices(teamId: string, client: string, clientVersion: string): ActionFuncAsync; export declare function updateNoticesAsViewed(noticeIds: string[]): ActionFuncAsync;