UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

7 lines (6 loc) 550 B
import type { RemoteClusterInfo } from '@mattermost/types/shared_channels'; import type { GlobalState } from '@mattermost/types/store'; export declare function getRemoteNamesForChannel(state: GlobalState, channelId: string): string[]; export declare function getRemotesForChannel(state: GlobalState, channelId: string): RemoteClusterInfo[]; export declare function getRemoteClusterInfo(state: GlobalState, remoteId: string): RemoteClusterInfo | null; export declare function getRemoteDisplayName(state: GlobalState, remoteId: string): string | null;