/** * 知乎适配器 * 认证方式: Cookie(从 www.zhihu.com 主页提取) * * API 流程: 创建草稿 → 更新草稿内容 */ import type { IPlatformAdapter, Article, SyncResult, AuthResult, PlatformMeta } from './interface.js'; import type { RuntimeInterface } from '../runtime/index.js'; export declare class ZhihuAdapter implements IPlatformAdapter { readonly meta: PlatformMeta; private runtime; private cookieData; init(runtime: RuntimeInterface): Promise; private getCookiePath; private loadCookie; private buildCookieString; checkAuth(): Promise; publish(article: Article): Promise; /** * 知乎内容转换 */ private transformContent; }