/** * post_create 发布体构建 * * 字段结构以真实浏览器请求为准(见同目录 real.js,以及 * scripts/api-explorer/shipinhao-video-upload/dist/network-logs1.json 里捕获的 post_create 请求体)。 * * 两次独立抓包一致的关键点: * - 顶层 latitude/longitude/feedLatitude/feedLongitude 恒为 0,真实坐标只写在 objectDesc.location * - objectDesc.shortTitle 是数组 `[{ shortTitle }]`,不是字符串 * - media[].md5sum 填 UUID 而非真实 md5(服务端不校验) * - report 里的 width/height/duration/fileSize 是转码**前**的原始视频信息 */ import type { ShipinhaoPublishVideoParams } from "./index"; /** 描述文案中的话题片段:正文 → 话题 → @用户,与前端插入顺序一致 */ export declare function buildDescription(params: { description: string; topics?: string[]; mentionedUsers?: Array<{ nickname: string; }>; }): string; /** mentionedUser[].nickname:实测昵称后带一个普通空格 */ export declare function buildMentionedUser(mentionedUsers?: Array<{ nickname: string; }>): Array<{ nickname: string; }>; /** * 构建 finderTopicInfo XML * * value 节点按其在文案中出现的顺序排列:正文(非空时)为纯 CDATA, * 话题为 ``(注意首尾都有 #), * @用户为 `@nickname` + U+2005 的 CDATA。 * `