import type { Config } from '@xopcai/xopc/config/schema.js'; import type { DmPolicy, GroupPolicy } from '@xopcai/xopc/channels/channel-domain.js'; import type { WeComConfig, WeComGroupRule } from '../schema/config-schema.js'; export declare const DEFAULT_WECOM_ACCOUNT_ID = "default"; export interface ResolvedWeComAccount { accountId: string; enabled: boolean; configured: boolean; botId?: string; secret?: string; dmPolicy: DmPolicy; allowFrom: string[]; groupPolicy: GroupPolicy; groupAllowFrom: string[]; groups: Record; debounceMs: number; mediaMaxMb: number; mediaMaxBytes: number; textChunkLimit: number; streaming: { enabled: boolean; throttleMs: number; }; actions: { messages: boolean; files: boolean; status: boolean; }; events: { systemEvents: boolean; ambientGroups: string[]; }; } export declare function getWeComConfig(cfg: Config | undefined): WeComConfig; export declare function listWeComAccountIds(cfg: Config | undefined): string[]; export declare function resolveWeComAccount(cfg: Config | undefined, requestedAccountId?: string | null): ResolvedWeComAccount; export declare function resolveWeComPairingKey(account: ResolvedWeComAccount): string; export declare function wecomTransportChanged(prev: ResolvedWeComAccount, next: ResolvedWeComAccount): boolean; export declare function setWeComPairingConfig(cfg: Config | undefined): void; export declare function resolveWeComPairingPaths(cfg: Config | undefined, accountId?: string): { key: string; pairingPath: string; allowPath: string; };