import type { Config } from '../config/schema.js'; import type { SessionListReader } from '../session/store-reader.js'; export type CrossChannelTargetCandidate = { accountId?: string; chatId: string; }; export type CrossChannelTargetResolution = { ok: true; channel: string; chatId: string; accountId?: string; } | { ok: false; reason: 'not_configured' | 'no_recipient' | 'ambiguous'; message: string; candidates?: CrossChannelTargetCandidate[]; }; /** * Resolve a single unambiguous default recipient for a proactive cross-channel * send when the caller omitted `chat_id` in an authorized owner conversation. */ export declare function resolveDefaultCrossChannelTarget(params: { channel: string; accountId?: string; config?: Config; sessionStore?: SessionListReader; }): Promise;