/**
 * Map send failures to user-visible copy (process-message onError behavior).
 */
export declare function mapWeixinOutboundErrorNotice(errMsg: string): string;
/**
 * Fire-and-forget error line to the user; logs secondary failures.
 */
export declare function sendWeixinErrorNotice(params: {
    to: string;
    toUserIdForApi?: string;
    contextToken: string | undefined;
    message: string;
    baseUrl: string;
    token?: string;
    routeTag?: string;
    errLog: (m: string) => void;
}): Promise<void>;
