import type { ResolvedWeixinAccount } from '../auth/accounts.js';
/**
 * When there is no cached context_token (e.g. cron before any inbound in this process),
 * try ilink getconfig — some deployments return context_token for the given ilink_user_id.
 */
export declare function ensureWeixinContextTokenForOutbound(accountId: string, userId: string, account: Pick<ResolvedWeixinAccount, 'baseUrl' | 'token' | 'routeTag'>): Promise<string | undefined>;
