import type { ChannelCategory } from '@mattermost/types/channel_categories'; import { CategorySorting } from '@mattermost/types/channel_categories'; import type { Channel } from '@mattermost/types/channels'; import type { ActionFuncAsync, ThunkActionFunc } from 'mattermost-redux/types/actions'; export declare function setCategoryCollapsed(categoryId: string, collapsed: boolean): ActionFuncAsync; export declare function setCategorySorting(categoryId: string, sorting: CategorySorting): ActionFuncAsync; export declare function patchCategory(categoryId: string, patch: Partial): ActionFuncAsync; export declare function setCategoryMuted(categoryId: string, muted: boolean): ActionFuncAsync; export declare function fetchMyCategories(teamId: string, isWebSocket?: boolean): ThunkActionFunc; export declare function addChannelToInitialCategory(channel: Channel, setOnServer?: boolean): ActionFuncAsync; export declare function addChannelToCategory(categoryId: string, channelId: string): ActionFuncAsync; export declare function moveChannelToCategory(categoryId: string, channelId: string, newIndex: number, setManualSorting?: boolean): ActionFuncAsync; export declare function moveChannelsToCategory(categoryId: string, channelIds: string[], newIndex: number, setManualSorting?: boolean): ActionFuncAsync; export declare function moveCategory(teamId: string, categoryId: string, newIndex: number): ActionFuncAsync; export declare function receivedCategoryOrder(teamId: string, order: string[]): { type: "RECEIVED_CATEGORY_ORDER"; data: { teamId: string; order: string[]; }; }; export declare function createCategory(teamId: string, displayName: string, channelIds?: Array): ActionFuncAsync; export declare function renameCategory(categoryId: string, displayName: string): ActionFuncAsync; export declare function deleteCategory(categoryId: string): ActionFuncAsync;