import { U as ChannelGroupContext, it as ChannelStatusIssue, xn as GroupToolPolicyConfig } from "./types.plugin-BcSBq42x.js"; //#region src/plugin-sdk/status-helpers.d.ts type RuntimeLifecycleSnapshot = { running?: boolean | null; lastStartAt?: number | null; lastStopAt?: number | null; lastError?: string | null; lastInboundAt?: number | null; lastOutboundAt?: number | null; }; declare function createDefaultChannelRuntimeState>(accountId: string, extra?: T): { accountId: string; running: false; lastStartAt: null; lastStopAt: null; lastError: null; } & T; declare function buildBaseChannelStatusSummary(snapshot: { configured?: boolean | null; running?: boolean | null; lastStartAt?: number | null; lastStopAt?: number | null; lastError?: string | null; }): { configured: boolean; running: boolean; lastStartAt: number | null; lastStopAt: number | null; lastError: string | null; }; declare function buildBaseAccountStatusSnapshot(params: { account: { accountId: string; name?: string; enabled?: boolean; configured?: boolean; }; runtime?: RuntimeLifecycleSnapshot | null; probe?: unknown; }): { accountId: string; name: string | undefined; enabled: boolean | undefined; configured: boolean | undefined; running: boolean; lastStartAt: number | null; lastStopAt: number | null; lastError: string | null; probe: unknown; lastInboundAt: number | null; lastOutboundAt: number | null; }; declare function buildTokenChannelStatusSummary(snapshot: { configured?: boolean | null; tokenSource?: string | null; running?: boolean | null; mode?: string | null; lastStartAt?: number | null; lastStopAt?: number | null; lastError?: string | null; probe?: unknown; lastProbeAt?: number | null; }, opts?: { includeMode?: boolean; }): { tokenSource: string; probe: unknown; lastProbeAt: number | null; configured: boolean; running: boolean; lastStartAt: number | null; lastStopAt: number | null; lastError: string | null; } | { mode: string | null; tokenSource: string; probe: unknown; lastProbeAt: number | null; configured: boolean; running: boolean; lastStartAt: number | null; lastStopAt: number | null; lastError: string | null; }; declare function collectStatusIssuesFromLastError(channel: string, accounts: Array<{ accountId: string; lastError?: unknown; }>): ChannelStatusIssue[]; //#endregion //#region src/channels/plugins/group-mentions.d.ts type GroupMentionParams = ChannelGroupContext; declare function resolveTelegramGroupRequireMention(params: GroupMentionParams): boolean | undefined; declare function resolveWhatsAppGroupRequireMention(params: GroupMentionParams): boolean; declare function resolveIMessageGroupRequireMention(params: GroupMentionParams): boolean; declare function resolveDiscordGroupRequireMention(params: GroupMentionParams): boolean; declare function resolveGoogleChatGroupRequireMention(params: GroupMentionParams): boolean; declare function resolveGoogleChatGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; declare function resolveSlackGroupRequireMention(params: GroupMentionParams): boolean; declare function resolveBlueBubblesGroupRequireMention(params: GroupMentionParams): boolean; declare function resolveTelegramGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; declare function resolveWhatsAppGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; declare function resolveIMessageGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; declare function resolveDiscordGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; declare function resolveSlackGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; declare function resolveBlueBubblesGroupToolPolicy(params: GroupMentionParams): GroupToolPolicyConfig | undefined; //#endregion export { buildTokenChannelStatusSummary as _, resolveGoogleChatGroupRequireMention as a, resolveIMessageGroupToolPolicy as c, resolveTelegramGroupRequireMention as d, resolveTelegramGroupToolPolicy as f, buildBaseChannelStatusSummary as g, buildBaseAccountStatusSnapshot as h, resolveDiscordGroupToolPolicy as i, resolveSlackGroupRequireMention as l, resolveWhatsAppGroupToolPolicy as m, resolveBlueBubblesGroupToolPolicy as n, resolveGoogleChatGroupToolPolicy as o, resolveWhatsAppGroupRequireMention as p, resolveDiscordGroupRequireMention as r, resolveIMessageGroupRequireMention as s, resolveBlueBubblesGroupRequireMention as t, resolveSlackGroupToolPolicy as u, collectStatusIssuesFromLastError as v, createDefaultChannelRuntimeState as y };