mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
5 lines (4 loc) • 440 B
TypeScript
import type { ChannelBookmarksState } from '@mattermost/types/channel_bookmarks';
import type { GlobalState } from '@mattermost/types/store';
export declare const getChannelBookmarks: (state: GlobalState, channelId: string) => ChannelBookmarksState["byChannelId"][string];
export declare const getChannelBookmark: (state: GlobalState, channelId: string, bookmarkId: string) => import("@mattermost/types/channel_bookmarks").ChannelBookmark;