import type { ChannelCategory, ChannelCategoryType } from '@mattermost/types/channel_categories'; import type { Channel, ChannelMembership } from '@mattermost/types/channels'; import type { GlobalState } from '@mattermost/types/store'; import type { IDMappedObjects, RelationOneToOne } from '@mattermost/types/utilities'; export declare function getAllCategoriesByIds(state: GlobalState): IDMappedObjects; export declare function getCategory(state: GlobalState, categoryId: string): ChannelCategory; export declare function getCategoryInTeamByType(state: GlobalState, teamId: string, categoryType: ChannelCategoryType): ChannelCategory | undefined; export declare function getCategoryInTeamWithChannel(state: GlobalState, teamId: string, channelId: string): ChannelCategory | undefined; export declare function getCategoryWhere(state: GlobalState, condition: (category: ChannelCategory) => boolean): ChannelCategory | undefined; export declare function getCategoryIdsForTeam(state: GlobalState, teamId: string): string[]; export declare function makeGetCategoriesForTeam(): (state: GlobalState, teamId: string) => ChannelCategory[]; export declare function makeFilterArchivedChannels(): (state: GlobalState, channels: Channel[]) => Channel[]; export declare function makeFilterAutoclosedDMs(): (state: GlobalState, channels: Channel[], categoryType: string) => Channel[]; export declare function makeFilterManuallyClosedDMs(): (state: GlobalState, channels: Channel[]) => Channel[]; export declare function makeCompareChannels(getDisplayName: (channel: Channel) => string, locale: string, myMembers: RelationOneToOne): (a: Channel, b: Channel) => number; export declare function makeSortChannelsByName(): (state: GlobalState, channels: Channel[]) => Channel[]; export declare function makeSortChannelsByNameWithDMs(): (state: GlobalState, channels: Channel[]) => Channel[]; export declare function makeSortChannelsByRecency(): (state: GlobalState, channels: Channel[]) => Channel[]; export declare function makeSortChannels(): (state: GlobalState, originalChannels: Channel[], category: ChannelCategory) => Channel[]; export declare function makeGetChannelIdsForCategory(): (state: GlobalState, category: ChannelCategory) => string[]; export declare function makeFilterAndSortChannelsForCategory(): (state: GlobalState, originalChannels: Channel[], category: ChannelCategory) => Channel[]; export declare function makeGetChannelsByCategory(): (state: GlobalState, teamId: string) => RelationOneToOne;