import type { ScheduledPost } from '@mattermost/types/schedule_post'; import type { GlobalState } from '@mattermost/types/store'; export type ChannelScheduledPostIndicatorData = { scheduledPost?: ScheduledPost; count: number; }; export declare function makeGetScheduledPostsByTeam(): (state: GlobalState, teamId: string, includeDirectChannels: boolean) => ScheduledPost[]; export declare function getScheduledPostsByTeamCount(state: GlobalState, teamId: string, includeDirectChannels: boolean): number; export declare function hasScheduledPostError(state: GlobalState, teamId: string): boolean; export declare function showChannelOrThreadScheduledPostIndicator(state: GlobalState, channelOrThreadId: string): ChannelScheduledPostIndicatorData; export declare const isScheduledPostsEnabled: (a: GlobalState) => boolean;