export interface ThreadsApiCredentials { appId?: string; appSecret?: string; accessToken: string; userId: string; } export interface ThreadsPublishInput { text: string; imageUrl?: string; replyToId?: string; } export interface ThreadsPublishResult { success: boolean; permalink?: string; mediaId?: string; error?: string; method: "api"; warning?: string; }